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) Java(TM) SE Runtime Environment (build 1.8.0_06-ea-b13) If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. You can determine which version of the JDK is the default by typing java -version in a Terminal window. There click on ' Accept License Agreement ' radio button. Go to the link given here: Scroll down until you see a heading Java SE Development Kit 8u241 followed by a table of JDK 8u241 download options. Open your Browser and go to the Oracle website.
#Where to download java for mac mac os x
Oracle Java (Version 7 and later versions) requires an Intel-based Mac running Mac OS X 10.7.3 (Lion) or later. Download & Install JDK & JRE 8 on Mac OS. It is possible for the version of the JRE to be different than the version of the JDK. Java 7 and later versions can run on your Mac. 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. If you have Java 7 or later versions, you will see a Java icon under System. See "Note for Users of OS X that Include Apple Java 6 Plug-in". To get the latest Java from Oracle, you will need Mac OS X 10.7.3 and above. 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. On the Mac OS X platform, double-click the open-box icon. After the download is complete, double-click the EXE or DMG file to run the installer. Download older versions of the JavaFX SDK installer from the Previous Releases download page. Determining the Default Version of the JDK Download the latest JavaFX SDK installer file for Windows (an EXE extension) or Mac OS X (a DMG extension).