Ck4Ubuntu

Keep Learning Keep Sharing

  • Home
  • ck
  • Youth Sharing Knowledge
  • Ubuntu Myanmar LoCo Team
  • ck
  • Ubuntu One FREE for everyone
  • Installaltion
  • Software
  • Community
  • My Story
  • Ubuntu Tablet
  • Raspberry Pi
  • UbuntuMM
  • cloud
  • ubuntu-mm
  • Ubuntu Myanmar Lo Co Team
  • Ubuntu-MM events
  • Software
  • community
  • install
  • CLI
  • Office for Ubuntu
  • UbuntuMM
  • Ubuntu
  • apt-get
  • Twitter
  • nitro share
  • Youth Sharing Knowledge

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

November 10, 2013 chitkoko 1 Comment Installaltion, Software

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

အောက်ပါ command ကို terminal တွင် ရိုက်ပါ –

             sudo apt-get purge openjdk*

java7 ကို အခြားသော 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 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) ကြုံ့တွ့ရပါက—–

Do you want to continue [Y/n]? y

Setting up oracle-java7-installer (7u45-0~webupd8~0) …

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 rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update

java
ပြီးနောက်ပြန်လည်၍ installation ပြုလုပ် လိုပါက အပေါ် မှ Installation command ဖြင့်ပြန်လည်ထည့်သွင်းပါ ။


Tags: java, javaInUbuntu |

One Comment  ·  Leave Comment

  1. Is Eczema Free Forever a Scam says:
    07 / 14 / 14

    Hey There. I found your blog using msn. This is a very well written article.
    I will be sure to bookmark it and come back to read more of your useful info.
    Thanks for the post. I’ll certainly comeback.

    Reply

Leave a comment Cancel reply

Your email address will not be published. Required fields are marked *

Pages

  • Ubuntu One FREE for everyone

Archives

  • July 2017
  • March 2017
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • July 2015
  • July 2014
  • April 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

  • cloud (2)
  • Community (10)
  • Creation (1)
  • CreativeCommon (1)
  • DIY (1)
  • install20things (4)
  • Installaltion (21)
  • Kernel (2)
  • Learning (1)
  • License (1)
  • My Story (6)
  • nitro share (1)
  • PI backup (1)
  • Programming (1)
  • Raspberry Pi (5)
  • RPI OS (1)
  • sh (1)
  • Software (18)
  • teanviewer (1)
  • Ubuntu (6)
  • Ubuntu Free Class (2)
  • Ubuntu mobile (5)
  • Ubuntu Tablet (5)
  • UbuntuMM (5)
  • Uncategorized (9)
  • Windowspassword (1)

WordPress

  • Log in
  • WordPress

Subscribe

  • Entries (RSS)
  • Comments (RSS)

Pages

  • Ubuntu One FREE for everyone

Archives

  • July 2017
  • March 2017
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • July 2015
  • July 2014
  • April 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012

Categories

  • cloud (2)
  • Community (10)
  • Creation (1)
  • CreativeCommon (1)
  • DIY (1)
  • install20things (4)
  • Installaltion (21)
  • Kernel (2)
  • Learning (1)
  • License (1)
  • My Story (6)
  • nitro share (1)
  • PI backup (1)
  • Programming (1)
  • Raspberry Pi (5)
  • RPI OS (1)
  • sh (1)
  • Software (18)
  • teanviewer (1)
  • Ubuntu (6)
  • Ubuntu Free Class (2)
  • Ubuntu mobile (5)
  • Ubuntu Tablet (5)
  • UbuntuMM (5)
  • Uncategorized (9)
  • Windowspassword (1)

WordPress

  • Log in
  • WordPress

CyberChimps WordPress Themes

© Ubuntu-mm Sites/ck