

If you're asked whether you want to open it, of course you do click Open. You'll see an item named Eclipse if you like, drag its icon into the dock so that you'll be able to launch Eclipse easily. Open your Applications folder, and then open the eclipse folder. 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. Mac OS X 10.7 Lion Mac OS X 10.8 Mountain Lion Mac OS X 10.9. In this article, you will learn how to set the JAVAHOME environment variable in different Mac OS X versions e.g. If you don't see Applications, then open a new window for Applications (from the Finder, command-shift-A), and drag the eclipse folder into Applications. Download Java for OS X directly from Oracle. Since Java is an optional package on the latest version of OS X, starting from OSX 10.7 (Lion), you need to either install Oracle JDK or choose this optional package. When you open your Downloads folder, if you see Applications under the Favorites on the left side of the window, you should drag the eclipse folder into Applications. When that's done, you should see a folder named eclipse in your Downloads folder. You should not feel compelled to donate.Īfter the download completes, folders should automatically expand. From either the browser Downloads window or from the file browser, double-click the. Before the file can be downloaded, you must accept the license agreement. If asked, click on "Open with Archive Utility (default)" and then click OK. Installing the JDK on macOS To install the JDK on macOS: Download the JDK. The system will not install a JRE that has an earlier version than the current version.Click on the yellow download button. When you install the JRE, you can install only one JRE on your system at a time. To install an earlier version of the JRE, you must first uninstall the current version. To determine the current JRE version installed on your system, see Determining the JRE Version Installed on macOS. However, the system will not replace the current JRE with a lower version.


When you install the JDK, it also installs the JRE. Administrator privileges are required to install the JDK and JRE on macOS. Installing the JDK and JRE on macOS is performed on a systemwide basis for all users. You cannot install Java for a single user.

The following are the system requirements for installing the JDK and the JRE on macOS:
