If an app or webpage you want to use asks you to install Java software, you can download the current version of Java for OS X directly from Oracles website. % /usr/libexec/java_home -v 1.8.0_06 -exec javac -versionįor more information, see the java_home(1) man page. Download Java for OS X directly from Oracle. To run a different version of Java, either specify the full path, or use the java_home tool: Java HotSpot(TM) 64-Bit Server VM (build 23.2-b04, mixed mode) 11/22/21, 4:13 PM Download Java for Mac OS X Download Java for Mac OS X Recommended Version 8 Update 311 (filesize: 83. Java(TM) SE Runtime Environment (build 1.8.0_06-ea-b13) View Download Java for Mac OS X.pdf from CPSC 110 at Simon Fraser University. You should end up with a file named something similar to jre-8u65. Open Safari and go to the Oracle Java downloads page and download the JRE. Here’s how you can install JRE (Java Runtime Environment).
Java is, and always has been, the source of many security holes. If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. If you do not need Java, you should not install Java. You can determine which version of the JDK is the default by typing java -version in a Terminal window. It is possible for the version of the JRE to be different than the version of the JDK. When launching a Java application through the command line, the system uses the default JDK. There can be multiple JDKs installed on a system, as many as you wish. The update, available in both Client and Server form, is free to download and install on Macs running any version of OS X 10.5 (Leopard and Leopard Server). See "Note for Users of OS X that Include Apple Java 6 Plug-in". This command will tell you what version of Java your Mac is currently running. If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. Its the icon of a small black box with a white command prompt in the corner. Determining the Default Version of the JDK