Ubuntu users,... this article will help you to Install Oracle JAVA 7/8 (JDK/JRE) on Ubuntu 14.04 LTS, 12.04 LTS.
There are two ways to install JDK in ubuntu.
1) Using PPA.
2) Manual installation.
1) Using PPA.
We can use WebUpd8 PPA (this will download the required files from Oracle).
$ sudo apt-add-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer
OR
$ sudo apt-get install oracle-java8-installer
apt-get install will install the latest version available, now verify your Installed Java version using below command
$ java -version
java version "1.7.0_56"
Now set environment variables for the installed JAVA version.
$
sudo update-alternatives --config java
$ sudo apt-get install oracle-java7-set-default
OR
$ sudo apt-get install oracle-java8-set-default
2) Manual installation.
In a manual installation we dont actually install java. The tar.gz provided by Oracle, we just extract those files to a location we want and add them to our path.
So here is the manual process:
1) Download a .tar.gz from Oracle official website
2) Extract it to somewhere (/home/chirag/Downloads/);
3) Move the extracted folder to /usr/lib/jvm.
(This is not mandatory but it is the default place where Java runtime software is usually installed.)
sudo mv /path/to/jdk /usr/lib/jvm/oracle_jdk7
4) Now configure ~/.bashrc to set the environment variable manually.
sudo gedit ~/.bashrc
and add below lines to the file - Save and close.
export J2SDKDIR=/usr/lib/jvm/oracle_jdk7
export J2REDIR=/usr/lib/jvm/oracle_jdk7/jre
export PATH=$PATH:/usr/lib/jvm/oracle_jdk7/bin:/usr/lib/jvm/oracle_jdk7/db/bin:/usr/lib/jvm/oracle_jdk7/jre/bin
export JAVA_HOME=/usr/lib/jvm/oracle_jdk7
export DERBY_HOME=/usr/lib/jvm/oracle_jdk7/db
Done! You are now ready to use java.
This comment has been removed by the author.
ReplyDeleteIt seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.
ReplyDeleteangular js training in chennai
angular js training in omr
full stack training in chennai
full stack training in omr
php training in chennai
php training in omr
photoshop training in chennai
photoshop training in omr
bingöl
ReplyDeleteelazığ
hakkari
sakarya
erzincan
KFU4
elazığ
ReplyDeletegümüşhane
kilis
siirt
sakarya
O2OG17
görüntülü
ReplyDeleteucretli show
R4VT
görüntülüshow
ReplyDeleteücretli show
G4L
antalya evden eve nakliyat
ReplyDeleteankara evden eve nakliyat
bursa evden eve nakliyat
yalova evden eve nakliyat
gümüşhane evden eve nakliyat
G60CH
69A20
ReplyDeleteBalıkesir Evden Eve Nakliyat
Ordu Evden Eve Nakliyat
Silivri Duşa Kabin Tamiri
Tekirdağ Evden Eve Nakliyat
Denizli Evden Eve Nakliyat
192A9
ReplyDeletesustanon for sale
order fat burner
Afyon Evden Eve Nakliyat
parabolan
İstanbul Evden Eve Nakliyat
Çerkezköy Fayans Ustası
halotestin for sale
Osmaniye Evden Eve Nakliyat
order masteron
8FAB3
ReplyDeleteMuğla Şehirler Arası Nakliyat
Kırşehir Lojistik
Afyon Evden Eve Nakliyat
Antep Lojistik
Konya Lojistik
Hatay Şehir İçi Nakliyat
Rize Lojistik
Ankara Asansör Tamiri
Trabzon Lojistik
98FC4
ReplyDeleteKocaeli Şehir İçi Nakliyat
Hakkari Şehir İçi Nakliyat
Afyon Lojistik
Sakarya Şehirler Arası Nakliyat
Amasya Şehir İçi Nakliyat
Aksaray Şehir İçi Nakliyat
Arbitrum Coin Hangi Borsada
Çanakkale Parça Eşya Taşıma
Erzincan Şehir İçi Nakliyat
07E29
ReplyDeletemasteron
https://steroidsbuy.net/
Ankara Asansör Tamiri
order deca durabolin
Bitlis Evden Eve Nakliyat
Urfa Evden Eve Nakliyat
Adana Evden Eve Nakliyat
Muğla Evden Eve Nakliyat
Kayseri Evden Eve Nakliyat
A3DF4
ReplyDeleteAmasya Parasız Sohbet
ısparta canlı ücretsiz sohbet
rize yabancı görüntülü sohbet uygulamaları
Ardahan Sohbet Siteleri
sakarya ücretsiz sohbet
Rize Bedava Sohbet Uygulamaları
Antep Ücretsiz Görüntülü Sohbet
çanakkale canlı görüntülü sohbet uygulamaları
samsun sohbet
65B98
ReplyDeletekırıkkale en iyi görüntülü sohbet uygulaması
Bingöl Kadınlarla Ücretsiz Sohbet
samsun rastgele sohbet uygulaması
Bayburt Sohbet
tunceli canlı görüntülü sohbet siteleri
telefonda kızlarla sohbet
samsun mobil sohbet siteleri
kilis goruntulu sohbet
kırklareli canlı görüntülü sohbet odaları
افضل شركة تسليك مجاري بالاحساء yJlKfPAis7
ReplyDelete