Java package structure of Mac OS is a bit different from Windows. Don't be upset for this as a developer just needs to set PATH and JAVAHOME. So in.bashprofile set JAVAHOME and PATH as below. This example is for Java 6. Java SE Development Kit 11 Downloads. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). The JDK is a development environment for building applications, and components using the Java programming language.
The following are the system requirements for installing the JDK and the JRE on macOS:
![Installer Installer](/uploads/1/1/9/5/119534484/439784844.jpg)
![For For](/uploads/1/1/9/5/119534484/371278856.jpg)
Java For Os X
- Any Intel-based computer running macOS.
- Administrator privileges.You cannot install Java for a single user. Installing the JDK and JRE on macOS is performed on a systemwide basis for all users. Administrator privileges are required to install the JDK and JRE on macOS.
- When you install the JDK, it also installs the JRE. However, the system will not replace the current JRE with a lower version.To determine the current JRE version installed on your system, see Determining the JRE Version Installed on macOS. To install an earlier version of the JRE, you must first uninstall the current version. See Uninstalling the JRE on macOS.
- When you install the JRE, you can install only one JRE on your system at a time. The system will not install a JRE that has an earlier version than the current version.To determine the current JRE version installed on your system, see Determining the JRE Version Installed on macOS. To install an earlier version of the JRE, you must first uninstall the current version. See Uninstalling the JRE on macOS.Note:Installing a JRE from Oracle will not update
java -version
symlinks or addjava
to your path. To do this, you must install the JDK.