Java
From Freespire
Home-->Documentation-->Hints & Tips-->How to Install the latest Java
Test which Version is currently installed
Visit this link: http://www.java.com/en/download/installed.jsp
To install the current version of Sun's JRE follow these steps
1. Go to http://java.sun.com/javase/downloads/index.jsp
2. Select Java Runtime Environment (JRE) 6 Update 6
3. Select your platform (Linux), language, and accept the agreement
4. Get the file: jre-6u6-linux-i586.bin
Installation ( all of these steps need to be done as root; or use "sudo" in front of each command. See more here: Understanding_Sudo/root_access ):
1. Copy the file to: /usr/lib
2. Open a console and type the following:
cd /usr/lib
then
chmod 777 jre-6u6-linux-i586.bin
then
./jre-6u6-linux-i586.bin
3. You will see a lot of messages, press the SPACE bar several times until ...
4. You get a question asking if you accept the terms of the license ..., answer: yes
5. More messages...
6. Done
Plugin installation for LIS, Mozilla and Firefox
1. In the same console as above, perform one of the following depending on what browser you are configuring:
Lbrowser: cd /usr/lib/lbrowser/plugins
Mozilla & Seamonkey: cd /usr/lib/mozilla/plugins
Firefox (CNR): cd /usr/lib/mozilla-firefox/plugins
Firefox (Installation script from mozilla.org): cd /to_wherever_you_installed/firefox/plugins
2. Type the following commands:
rm libjavaplugin_oji.so
A message saying the file doesn't exist is O.K. Then
ln -s /usr/lib/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so
3. If the plugin doesn't work, try these commands:
rm libjavaplugin_oji.so
and
ln -s /usr/lib/jre1.6.0_06/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
4. Done.
Restart your browser.

