Wednesday, April 18, 2007

Install Java on Linux Machine

Download the latest JDK from
Select to download for Linux machine

This is a binary file so execute this file.

$ cd /usr
$ ./jdk-xxx.x-linux-i586.bin

Edit your bash profile file to set the Java home.

$vi .bash_profile
Add/edit these lines

export JAVA_HOME

#Save and Exit from the vi

$source .bash_profile

Check the java version
$ java -version

No comments:

Whats new in Ajuby 0.5