Tuesday, March 16, 2010

Ubuntu :: lenny :: install Java

Copy the lines below to /etc/apt/sources.list

Run the update
$ sudo apt-get update

Install Java
$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk sun-java6-fonts

Check:
$ java -version
$ which javac




No comments:

Post a Comment