Install OpenJDK 7 in [X]ubuntu 12.04/12.10
OpenJDK is the official Ubuntu supported solution for running and compiling Java programs. In this solution separated packages are provided for each need.
Install
Open a terminal window and run:
sudo apt-get install openjdk-7-jre # to be able to run
sudo apt-get install openjdk-7-jdk # to be able to compile
sudo apt-get install icedtea-7-plugin # to be able to run applets on browser
sudo apt-get install openjdk-7-jdk # to be able to compile
sudo apt-get install icedtea-7-plugin # to be able to run applets on browser
Thanks for the commands, Ubuntu Fan
ReplyDeleteYou're very welcome :)
DeleteHow to install Open JDK or Sun JDK manually on ubuntu 12.04?, thanks!
ReplyDeleteI just wrote a article on how to install Oracle's JDK manually: http://goo.gl/z4D35. I hope it helps.
DeleteHow do I set the "java" command in terminal to use Java 7 instead of the java 6 which comes with xubuntu 12.04 ?
ReplyDeletesudo update-alternatives --config java
Delete