Sidux/Useable applications/Java virtual machine

Java is a programming language known as Java Virtual Machine lets runninig applets
(applications) on computers or web browsers.
It's indispensable element for running applications such as OpenOffice.org or Jalbum.


Installation from repositories edit

Installation of proprietary Java version with it's web browser plug-in:
apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin
When installator finish downloading it'll display the licence, just scroll it down to the end of it and agree typing "yes".


Installation from package edit

1. If you don't want to install Java from repositories. then:
a. Download "self-extracting file" from: java.com.
b. Move the package to: "/usr/lib/jvm" folder.
c. Go to "/usr/lib/jvm" folder using Terminal as root:
cd /usr/lib/jvm
d. Check is the package there:
ls
e. Install it typing "yes" on the end of the licence:
sh jre-version-linux-i586.bin
f. Create Java plug-in symbolic link to web browser plug-in folder:
cd /usr/lib/mozilla/plugins
ln -s /usr/lib/jvm/java-version/jre/plugin/i386/ns7/libjavaplugin_oji.so
g. You can make symbolic link using Midnight Commander, just mark "libjavaplugin_oji.so" and then choose
File tab-> SymLink to "/usr/lib/mozilla/plugins" folder.
 


OpenJava edit

Open source Java version installation:
apt-get install openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib
and it's web browser plug-in:
apt-get install icedtea6-plugin


Verification edit

After installation you can check is your Java installed correctly or is the latest version: java.com


Java home page: http://www.oracle.com/technetwork/java/index.html
And on Wikipedia: http://en.wikipedia.org/wiki/Java_%28programming_language%29