Latest Java .targz I downloaded was jre1.7.0_07 from javas
site. I downloaded it into /home and extracted also in /home.
Later on I moved the extracted file into /opt/java/32. Below
is how I made a /optjava/32 directory to hold the new jre1.7.0_07
Directory. Just drag and drop when done . Rox file manager needs
to be opened as root for drag and drop by the way. You need
2 rox file managers open to do this for you rookies.
Now copy and paste the rest below in a text file because you
are going to close Iceweasel now to do the rest of this.
Minimise text file in task bar so you can access it for commands
(copy and paste) Needless to say. If you are reading
this and java has been updated past this release. Just substitute the new name of
jre1.7 (whatever is newer) in place of jre1.7.0_07 or the below
commands won't work.
Opened root terminal. Type in rox. Hit enter.
Go to /opt. Make New Directory"java".
Open java folder and in it make new directory"32"
Close root terminal and open root terminal again.
cd into /opt/java/32 directory in root terminal
Code: Select all
# cd /opt/java/32
Code: Select all
root@biker:/opt/java/32
# update-alternatives --install"/usr/bin/java""java""/opt/java/32/jre1.7.0_07/bin/java" 1
Next commandupdate-alternatives: using /opt/java/32/jre1.7.0_07/bin/java to provide /usr/bin/java (java) in auto mode.
Code: Select all
root@biker:/opt/java/32
# update-alternatives --set java /opt/java/32/jre1.7.0_07/bin/java
Code: Select all
root@biker:/opt/java/32
# ln -s /opt/java/32/jre1.7.0_07/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins
was installed correctly.Then go to
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://javatester.org/version.html"
linktext was:"http://javatester.org/version.html"
====================================
to make sure your plugin shows up there correctly also.
I know open JDK and other Debian ways to install java are
available. This is just a static how to install. Other members can show how they used apt-get
in this thread to install openjdk instead or the other approved Debian ways. __{{emoticon}}__