Home viewnew
User Name
passwordPassword
x
Hello guest!, by login to this site, you can add and edit your own server, if you haven't registered yet, click me

Java installation on Linux Lite
August 19, 2015, 12:51PM


1. Firstly download, tar.gz (32 tai 64bit)
http://www.oracle.com/technetwork/ja...s-2133155.html

2. Extract to the desktop of your computer

3.Make directory 'java' to opt folder, opt folder is in root.

4. In command line, write these, remember change java version! In my example I AM USING jre1.8.0_50

sudo update-alternatives --install /usr/bin/java java /opt/java/jre1.8.0_50/bin/java 1
sudo update-alternatives --set java /opt/java/jre1.8.0_50/bin/java
5. Lets add mozilla firefox add on plugin

ln -sf /opt/java/jre1.8.0_50/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/
and after this
sudo export JAVA_HOME=/opt/java/jre1.8.0_50"
6.
Now update java home location, write into command "sudo gedit ~/.bashrc"

If you don't have gedit, write this too "sudo apt-get install gedit"

Search
"fi
fi" and underneath that, add this

export JAVA_HOME=/usr/lib/java/jre1.8.0.5
set PATH=$PATH:$JAVA_HOME/bin"
export PATH
Last update August 19, 2015, 6:19PM by: Jjuzou
  Java installation on Linux Lite Comments (0)
No Comments
Post A Comment


Server list is getting updated in a moment!

Newest Server: Psdaf
Newest member: devrandeniz
Last logged members in 24hours: devrandeniz,