Download Fanurio User Guide

Transcript
Troubleshooting and maintenance
1. Download [http://www.oracle.com/technetwork/java/javase/downloads/index.html] the tar.gz file
for Linux from Oracle.
This guide assumes the file is called jdk-7-linux-i586.tar.gz but depending on which version you
decide to download, it may have a different name.
2. Untar and copy it to /usr/lib/jvm/ where Java is installed. The new Java launcher will be /usr/lib/
jvm/jdk1.7.0/jre/bin/java.
sudo tar -zxvf ~/Downloads/jdk-7-linux-i586.tar.gz -C /usr/lib/jvm/
3. Add the new Java installation to the Java alternative lists.
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/jre/bin/java 1
4. Make the new Java installation the default one. Run the following command and choose the option
that points to the new Java installation.
sudo update-alternatives --config java
5. Test it.
java -version
How to install Sun Java on Ubuntu 11.4 and earlier
On Ubuntu 11.4 and earlier, Sun Java can be downloaded from Ubuntu repositories.
1. On Ubuntu 10.4 (Lucid Lynx)
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
On Ubuntu 10.10 (Maverick Meerkat)
sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"
On Ubuntu 11.4 (Natty Narwhal)
sudo add-apt-repository "deb http://archive.canonical.com/ natty partner"
On Ubuntu 11.4 (Natty Narwhal)
sudo add-apt-repository "deb http://archive.canonical.com/ natty partner"
2. sudo aptitude update
3. sudo aptitude install sun-java6-jdk
5.4.4. Other platforms
You can download the latest Java version from java.com [http://java.com/en/download/index.jsp].
112