sudo apt-get purge openjdk* Step 3 » Issue the below command to add webupd8 repository. Step 2 » Remove openjdk by typing the below command. The results shows openjdk is installed on your machine. Step 1 » Check the version of java package installed by issuing the below command sudo update-java-alternatives -l java-1.7.0-openjdk-i386 1051 /usr/lib/jvm/java-1.7.0-openjdk-i386 java -version java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3) OpenJDK Client VM (build 20.0-b12, mixed mode, sharing) In this article, we can see how to install Oracle java 7 on ubuntu 12.04. By default ubuntu 12.04 comes with Openjdk.
0 Comments
Leave a Reply. |