Sidux/Useable applications/Java virtual machine
Appearance
- 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 | edit source]- 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 | edit source]- 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:
- a. Download "self-extracting file" from: java.com.
cd /usr/lib/jvm
- d. Check is the package there:
- d. Check is the package there:
ls
- e. Install it typing "yes" on the end of the licence:
- 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:
- 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.
- g. You can make symbolic link using Midnight Commander, just mark "libjavaplugin_oji.so" and then choose
OpenJava
[edit | edit source]- 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 | edit source]- 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