
It is a bit sloppy to leave two java/bin folders in your path so you should be advised to clean those up as a separate task.Īlso, put all above environment variables in the /etc/environment file for auto loading on system boot. Note that the change to the PATH variable put the new Java bin folders first so that they override any existing java/bins in the path. # export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH Set the Java environment variables using the following commands: Setup JAVA_HOME Variable # export JAVA_HOME=/opt/jdk1.8.0_51 Most of Java-based applications use environment variables to work. Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_51-b16) # alternatives -set javac /opt/jdk1.8.0_51/bin/javacĬheck the installed version of Java using the following command. # alternatives -set jar /opt/jdk1.8.0_51/bin/jar # alternatives -install /usr/bin/javac javac /opt/jdk1.8.0_51/bin/javac 2 We also recommend to setup javac and jar commands path using alternatives: # alternatives -install /usr/bin/jar jar /opt/jdk1.8.0_51/bin/jar 2 # alternatives -install /usr/bin/java java /opt/jdk1.8.0_51/bin/java 2Īt this point Java 8 has been successfully installed on your system. The alternatives command is available in the chkconfig package.
#Install mucommander ubuntu install#
Install Java with alternativesĪfter extracting the archive file, use the alternatives command to install it. Note: If the above wget command doesn’t not work for you, watch this example video to download the Java source archive using the terminal. # wget -no-cookies -no-check-certificate -header "Cookie: gpw_e24=http%3A%2F%2Foraclelicense=accept-securebackup-cookie" "" Download latest Java archive Download latest Java SE Development Kit 8 release from its official download page or use following commands to download from the shell.
#Install mucommander ubuntu upgrade#
You need to upgrade your Java version to Java 8.

Go to: /Applications/IntelliJ\ IDEA\ 15\ CE.app/Contents/istĪnd replace the JVM version with: JVMVersion Make sure the JDK home path is set to 1.8.Īnother approach which might help is by instructing IntelliJ IDEA which JDK version to start up with.
