08-29-2016, 02:55 AM
OK so java isn't installed yet..
So I assume you've downloaded java and its in your download folder if so...
You can open terminal from here...
This will unzip/install
Allow to run then
Creates the file oraclejdk.sh
The next command will open the newly created file in a text editor (leafpad - similar to notepad)
Leafpad will be blank - copy the next few lines into the document and save..
Its "coded" to ease selecting, just select and copy then paste into leafpad)
Once you have the above pasted and saved (file-save) you can close.
then in the terminal window
So I assume you've downloaded java and its in your download folder if so...
You can open terminal from here...
This will unzip/install
Code:
tar -zxvf jre-* -C /usr/lib/jvm/oracle_jdk8 --strip-components=1
Allow to run then
Code:
touch /etc/profile.d/oraclejdk.sh
The next command will open the newly created file in a text editor (leafpad - similar to notepad)
Code:
leafpad /etc/profile.d/oraclejdk.sh
Leafpad will be blank - copy the next few lines into the document and save..
Its "coded" to ease selecting, just select and copy then paste into leafpad)
Code:
export J2SDKDIR=/usr/lib/jvm/oracle_jdk8
export J2REDIR=/usr/lib/jvm/oracle_jdk8/jre
export PATH=$PATH:/usr/lib/jvm/oracle_jdk8/bin:/usr/lib/jvm/oracle_jdk8/db/bin:/usr/lib/jvm/oracle_jdk8/jre/bin
export JAVA_HOME=/usr/lib/jvm/oracle_jdk8
export DERBY_HOME=/usr/lib/jvm/oracle_jdk8/db
Once you have the above pasted and saved (file-save) you can close.
then in the terminal window
Code:
source /etc/profile.d/oraclejdk.sh
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2