1. sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
2. sudo apt-get update
3. sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
4. set JAVA_HOME=/usr/lib/jvm/java-6-sun
5. set PATH=$JAVA_HOME/bin:$PATH
6. java -version
Monday, June 20, 2011
Subscribe to:
Posts (Atom)