


Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Here are results when I use the first and second option accordingly: a free troubleshooting tool for Java/.NET. Java 8: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/HomeĪfter saving the file, please run source /etc/profile and it should work. I am having some issues after installing pymol in Mac OS 10.8.2. Java 7: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home In my case, it should be like the following if I want to use: Just add (or modify) the following two lines at the end of the file: export JAVA_HOME=YOUR_JAVA_PATH/Contents/Home You can change them by modifying the /etc/profile content. In case if you have several Java versions on your machine and you want to choose it dynamically at runtime, i.e, in my case, I have two versions: ls -la /Library/Java/JavaVirtualMachinesĭrwxr-xr-x 3 root wheel 96B jdk1.7.0_71.jdk/ĭrwxr-xr-x 3 root wheel 96B jdk1.8.0_31.jdk/ It should output the latest version that you installed/updated to. Sudo ln -s /Library/Internet\ Plug-Ins/ugin/Contents/Home/bin/java /usr/bin/java In this step, we are going to point (symbolic link, ln -s command) the system java binary to the latest one, which we discovered in the previous step. In my case, the path was /Library/Internet\ Plug-Ins/ugin/Contents/Home/bin/java This is the latest one installed by the JDK installer/updater. Double click on the Path item and copy the path (cmd+c).The Java Runtime Environment Settings tab opens as below:.
#Java for mac os x 10.8.2 free download download#
If you download Java 7, you will not be able to run Java content in Chrome and will need to use a 64-bit browser (such as Safari or Firefox) to run Java content. Java 7 runs only on 64-bit browsers and Chrome is a 32-bit browser.
#Java for mac os x 10.8.2 free download update#
