Friday, November 23, 2007

Install java on ubuntu

Download java(SDK) from: http://java.coe.psu.ac.th
Set file permission by
chmod +x filename

install file by following command
./filename

You can select where directory file will be install.
To see a list of the java versions that you have installed, you can use the following command.
java -version

To switch to different version that you want by following command
update-java-alternatives -s

Version desired you get from list above that you see.
Select version that you want.
When you finished check version again.

No comments: