Skip to main content

how-to-install-oracle-java-7-in-Ubuntu ?

how-to-install-oracle-java-7-in-ubuntu ?

java ကို Ubuntu မွာထည့္သြင္းရန္ေအာက္ပါအတိုင္းလုပ္ေဆာင္ပါ-

ေအာက္ပါ command ကို terminal တြင္ ရိုက္ပါ -

sudo apt-get purge openjdk*

java 7 ကို အျခားေသာ PPA မ်ား မွ ထည့္သြင္းခဲ့ လွ်င္ ေအာက္ပါအတိုင္း command ကို terminal တြင္ ရုိက္ပါ

sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update

oracle java 7 ကို Ubuntu 14.04/13.10/13.04/12.10/12.04 တို့တြင္ install ျပဳလုပ္ႏိုင္ရန္ -

ေအာက္ပါ command ကို terminal တြင္ ရိုက္ပါ

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

sudo apt-get install oracle-java7-installer

installation ျပဳလုပ္၍ ေအာက္ေဖာ္ျပပါ error code (1) ေတြ့ ၾကဳံပါက

Downloading Oracle Java 7...
–2013-11-10 11:23:01– http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... failed: Name or service not known.
wget: unable to resolve host address ‘download.oracle.com’
download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (–configure):
subprocess installed post-installation script returned error exit status 1
Setting up firefox (25.0+build3-0ubuntu0.13.10.1) ...
update-alternatives: error: alternative path /usr/bin/firefox doesn’t exist
dpkg: error processing firefox (–configure):
subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.11.0-13-generic
Processing triggers for ca-certificates ...
Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Errors were encountered while processing:
oracle-java7-installer
firefox
E: Sub-process /usr/bin/dpkg returned an error code (1)

ေအာက္ပါ command တို့ျဖင့္ terminal တြင္အဆင့္ဆင့္ လုပ္ေဆာင္ပါ
sudo su
rm /var/lib/dpkg/info/oracle-java7-installer*
apt-get purge oracle-java7-installer*
rm /etc/apt/sources.list.d/*java*
apt-get update; apt-get upgrade 



Comments

Popular posts from this blog

ယူနီကုဒ်အကြောင်းတစေ့တစောင်း

အောက်ဖော်ပြပါ အကြောင်းအရာများသည် ၁၄ ဒီဇင်ဘာလ ၂၀၁၄ ၁၃း၃၂ အချိန်တွင် ဦးညီလင်းဆက် မှ Facebook တွေရေးသားခဲ့သော ကိုယ်တွေ့အကြောင်းအရာများဖြစ်ပါသည်။ မပျောက်ရန်နှင့် နောင်လေ့လာနိုင်ရန် စုဆောင်းထားခြင်းဖြစ်ပါသည်။ Google Translate နဲ့ ပတ်သက်ပြီး တချို့တွေလည်း သဘောကျ၊ တချို့တွေလည်း သဘောမကျ၊ တချို့တွေလည်း ဘာမှ မသိဘဲ လျှောက်ဖောကြတာတွေ့ရတယ်။ ဗိုလ်တထောင်ယူနီကုဒ် နဲ့ လမ်းမတော်ဇော်ဂျီ အောက်ခြေ ဂိုဏ်းသားတွေ ဘာမသိညာမသိ ဆိုင်းသံကြားတာနဲ့ ချကြတာလည်း မြင်ရပြန်တယ်။ ဒါဟာ ယူနီကုဒ်အောင်ပွဲဆိုပြီး ဂုဏ်ယူဝံ့ကြွားကြသလို ဇော်ဂျီနဲ့ ရိုက်လည်း ရတာပဲဆိုပြီး နင်းကန်ငြင်းဆန်ကြတာလည်း ကြုံရပြန်တယ်။ သမိုင်းကြောင်းလေးတွေ ရှိလို့ မှတ်မိသလောက် ပြန်ပြောပြချင်တယ်။ အန်အယ်လ်ပီ ဆိုတဲ့ အဖွဲ့ကြီး ရှိခဲ့တယ်။ အဲဒီမှာ ဒီလိုဘာသာပြန် စနစ်တွေ လုပ်ဖို့ရာလည်း အစီအစဉ်တွေ ရှိခဲ့တယ်။ ဒါပေမယ့် ဆယ်နှစ်လောက် ဖောင့်ဒီဇိုင်းလုပ်တဲ့ သူကအစ ကုဒ်ဒင်ရေးတဲ့သူအဆုံး ကိုယ့်ကိုကိုယ် ယူနီကုဒ်စနစ်ကို တီထွင်သူလိုလို ဘာလိုလိုတွေနဲ့ ယူနီကုဒ်ဗားရှင်း ၄၊ ဗားရှင်း ၄.၁၊ ယူနီကုဒ် ၅၊ ယူနီကုဒ် ၆ စသည်ဖြင့်ပေါ့လေ တိုးတက်စည်ပင်အောင် လုပ်ကြရာကနေ မြန်မာ ၁၊ မြန်မာ ၂၊ မြန်မာ ၃...

ဘာသာရပ္ဆိုင္ရာ ေလ့လာစရာ websites မ်ား

ဘာသာရပ္ဆိုင္ရာ ေလ့လာစရာ websites မ်ား ကြ်န္ေတာ္တို့သည္ မိမိတို့ ဝါသနာပာရာတို့ကို အခ်ိန္ ႏွင့္ အမွ် ေလ့လာခ်င္ၾကပါသည္ ။ထို့ေျကာင့္ သူငယ္ခ်င္းတစ္ဦး ျဖစ္သူ Victoire Rio  ၏ အကူအညီျဖင့္ သိခဲ့ရ ျပီး ျပန္လည္ေလ့လာနိုင္ေစရန္ ျပန္လည္ စုစည္းေပးလိုက္ရပါသည္ ။ GENERAL ( အေထြေထြ ေလ့လာနိုင္ရန္ ) Coursera : Take courses created by top educational institutions edX:  Take online courses from the world's best universities Udemy : Learn real world skills online MasterClass : Take online classes from the world's best FutureLearn : Enjoy free online courses from top universities Savvy : Get personal lessons over one-on-one video Khan Academy : Learn almost anything Guides : Explore interactive guides Simplilearn : Grow your career with new skills Highbrow : Learn with bite-sized email courses Cudoo  : Take online self-study courses Coursmos : Learn new skills to drive your career TED-Ed : Learn from a library of interactive videos Lynda.c...

Easy Raspberry Pi Setup Guide for MYANMAR

Raspberry Pi Setup Guide Raspberry Pi ဆိုသည္မွာ credit size သာသာရွိေသာ single board computer တစ္ခုျဖစ္ျပီး ေက်ာင္းမ်ားတြင္ computer science မ်ား သင္ၾကားရာတြင္ပိုမိုအေထာက္အကူျပဳႏိုင္ရန္အတြက္ UK ရွိ Raspberry Pi Foundation မွစတင္ခဲ့ ပါသည္၊စတင္ထုတ္လုပ္ျပီးေနာက္ ပိုမို အသုံးတည့္ သျဖင့္သုံးစဲြသူမ်ား စြာရွိခဲ့ပါ သည္။ထြက္ရွိခဲ့ေသာ အမ်ဳိးအစား ႏွစ္မ်ဳိးမွာေအာက္ပါအတိုင္းျဖစ္ပါသည္- Specifications Note, the Compute module column refers to the bare Compute module, not connected to any IO board. Feature Model A Model B Model A+ Model B+ Compute Module BRCM2835 SoC Yes Yes Yes Yes Yes Standard SoC Speed 700Mhz 700Mhz 700Mhz 700Mhz 700Mhz RAM 256MB 512MB* 256MB 512MB 512MB Storage Full SD Full SD Micro SD Micro SD 4GB eMMC Ethernet 10/100 No Yes No Yes No HDMI output port Yes Yes Yes Yes Yes Composite video output Yes Yes On 3.5mm jack On 3.5mm jack Yes Number of USB2.0 ports 1 2 1 4 1 Expansion header 26 26 40 40 N/A Number of available GPIO 17 17 26 26 48 3.5mm au...