Install openjdk 7 ubuntu 14.04
When everything is done, click on the 'Apply' button. Should you get an additional window pop-up asking you to mark additional packages, click on the 'Mark' button. Click on each of the green box to the left of each item you want removed and select 'Mark for Complete Removal'. A screen similar to the one below (the screen has been expanded for clarity) will appear. Launch Synaptic and then type 'openjdk' in the Quick filter text box. Of these 2 methods, using Synaptic will be described first.
INSTALL OPENJDK 7 UBUNTU 14.04 INSTALL
or you can run sudo apt-get install openjdk-7-jdk openjdk-7-jre-headless The last command is same as Noctane said except he made a typo mistake in the command.
INSTALL OPENJDK 7 UBUNTU 14.04 UPDATE
sudo apt-cache search openjdk-7 openjdk-7-jdk - OpenJDK Development Kit (JDK) openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT openjdk-7-jre-headless. Update the package list sudo apt-get update and then run sudo apt-get -f install this may fix the problem. To actually remove all the installed OpenJDK packages, you can either use a terminal and execute the proper commands, or, if you have Synaptic installed on your system, use it to remove the installed packages. I’ll install Marshmallow, Hence Install the OpenJDK7 on the Ubuntu 14.04 I can found already Openjdk7 related packages are available on my Ubuntu 14.04 via search it, So install it now. sudo apt-get install openjdk-7-jdk Installing Oracle JDK (optionally) Oracle JDK is an official JDK but, now, Oracle doesn't support it like default for installation in Ubuntu. To list our all the JRE packages, execute the following command: The listing will show all the OpenJDK packages that you need to remove. To list out all the Java packages already installed, execute the following command: There is only one alternative in link group javac (providing /usr/bin/javac): /usr/lib/jvm/java-7-openjdk-amd64/bin/javac Output: openjdk version '11.0.8' OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120. There is only one alternative in link group java (providing /usr/bin/java): /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaĪs a safety check, execute the following also:Īgain, if you see something similar to the one shown below, then there is also one java compiler installed. Checking the java version: java -version. If you see a response such as the one shown below, then there is only one Java installed. First, check for all Java installed (just in case) by executing the following command in a terminal.