This page tells you how to download and install Java 8 and Eclipse on Mac OS X, and how to configure Eclipse.
- It can be Oracle JDK or OpenJDK. This post guides you how to install Oracle JDK 8 on Mac OS X 10.10 Yosemite. It should be also applicable for previous version of OS X such as OS X Maverick, Mountain Lion, and OS X Lion. At the time of this post written, the latest version of JDK is JDK 8 Update 25.
- Java SE Development Kit 8 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, applets, and components using the Java programming language.
The latest version like JDK 11, 13 does not provides JRE installers. Now see how to download and install JDK 8 & JRE in Mac OS without any confusion. The Java SE Development Kit 8 has many releases from JDK 8 to JDK 8u241. Here in this blog we will see the installation of JDK 8u241 on MacOS 10.15 Catalina.
Installing Java 8
Go to the Oracle website. You'll see something like this:
Scroll down until you see a heading beginning 'Java SE 8u65/8u66.' On the right, you'll see a Download button under the JDK header. Click it. The next screen will look like this:
Click the radio button next to 'Accept License Agreement' and then click on jdk-8u65-macosx-x64.dmg. You'll be asked whether to save the file that is going to be downloaded; click on Save File.
Open your Downloads folder, and double-click on jdk-8u65-macosx-x64.dmg. You'll see this window:
Double-click on the package icon, and follow the instructions to install. When the installation has completed, click on Done. At this point, you may close up the window and drag jdk-8u65-macosx-x64.dmg to the Trash.
Download Jdk 8 Mac Os Download
Installing Eclipse
If you already have Eclipse installed on your Mac, you need to get rid of it. To do so, first quit Eclipse if you're currently running it. Then, go to your workspace folder (probably in Documents/workspace) and save anything there that you want to keep, because you're about to get rid of this folder. Next, drag the workspace folder to the Trash.
Go to your Applications folder. One way to get there is, from the Finder, type command-shift-A. You'll a folder named eclipse in there; drag the eclipse folder to the Trash. If you have an Eclipse icon in your dock, remove it from the dock.
Now you're ready to download and install the newest version of Eclipse. Go to this website. You'll see a window like this:
Scroll down until you see 'Eclipse IDE for Java Developers' and click where it says 64 bit under Mac OS X.
You will see this window:
Click on the yellow download button. If asked, click on 'Open with Archive Utility (default)' and then click OK. The download might take a few minutes. You should not feel compelled to donate.
After the download completes, folders should automatically expand. If they don't, double-click on the .tar file. When that's done, you should see a folder named eclipse in your Downloads folder. 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. 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.
Open your Applications folder, and then open the eclipse folder. 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.
Launch Eclipse. If you're asked whether you want to open it, of course you do; click Open. You'll see a window like this:
It will have your user name rather than mine (scot). Select where you want your workspace to be; I recommend the default of your Documents folder. Click the checkbox for using this location as the default, and then click OK.
You'll see a window like this:
Click on the Workbench arrow in the upper right that I've circled. You shouldn't see this screen again, even if you quit Eclipse and relaunch it.
You'll get an empty workbench like this:
We won't be using the 'Task List' and 'Connect Mylyn' windows. Click the 'x' on each to close it. Press the mouse on the Window menu item, then choose 'Perspective', and finally choose 'Save Perspective as..'. Enter 'cs10' for the name of this perspective and press return. Your workbench will now look like this:
You have now installed Eclipse!
Configuring Eclipse
You don't have to configure Eclipse the way I do, but you'll probably avoid some confusion if you do. Here's how.
In the Eclipse menu bar, click on the Eclipse menu and then on 'Preferences..'. You'll see a window with two panes. On the left pane is a list of types of things you can configure.
Click on the triangle to the left of General. Then click on the triangle to the left of Appearance. Then click on 'Colors and Fonts.' You should see a window like this:
In the window in the middle, click on the triangle next to Java. Then double-click on 'Java Editor Text Font':
You'll see this window:
On the right, where you can select the size, click 12. Then close this window by clicking on the window's close button.
Close up the General preferences by clicking on the triangle to the left of General. Click the triangle next to Java and then click the triangle next to 'Code Style.' Then click Formatter. Here's what you should see:
Click the button that says 'New..'. You'll see a window such as this one:
You can type in any profile name you like. I used 'CS 10':
Click OK.
You should see a window like this:
Change the tab size to 2:
You'll see that the indentation size automatically changes as well.
Click on 'Blank Lines,' and after 'Between import groups' and 'Before declarations of the same kind,' change the values 1 to 0:
Click on 'Control Statements,' and check the first four boxes as I've done here:
Click OK.
Now click on triangles to close up Java. Click on the triangle next to Run/Debug, and then click on Console:
Click on the green color sample next to 'Standard In text color.' You'll get a color picker:
Slide the slider on the right down, so that you get a dark green. (You're at Dartmouth. What other color could you possibly want?)
Close the color picker window by clicking its close button, and click OK again to close the Preferences window.
And you're done!
Download Java Development Kit 8 Offline Installer
Java Development Kit is a full featured development environment for building applets, applications, and components in Java. JDK includes JRE and development tools which are used to develop, debug and monitor programs written in Java programming language. You can download JDK offline installer using direct links given later in this blog post.
Java SE Development Kit 8u241 is the latest release and it's recommended for developers to download the latest JDK version.
JDK offline installer lets you download and install JDK Development Kit on multiple PCs even without Internet connectivity. Java offline installer download links are official ones, therefore, it's 100% safe to download JDK 8u241 using these links.
If you want to run Java programs on your browser or computer, you would need to download JRE, on the other hand, to develop Java programs, you need to download Java SE Development Kit 8 offline installer.
JDK 8 offline installer is available for Windows, MacOS, Linux, and Solaris. You can download JDK 32-bit or JDK 64-bit as per your system requirements.
Note: Before you start downloading JDK 8 update 241, you need to accept OTN license terms as Oracle doesn't allow automatic JDK download. For this, visit the official Oracle site and click on 'Accept License Agreement' radio button (see the screenshot). Now you will be able to download JDK 8u241 using the links given below.
If you don't accept Oracle's OTN license terms, the following error will be displayed when you click on the JDK download link.
Download JDK 8u241 Offline Installer for All Platforms
To download the latest JDK offline installer full setup, just navigate the official website of Oracle and the get the JDK 8 direct download link for your particular platform.
Download JDK 8u241 Offline Installer
When you click on the download link of JDK 8, you are asked for Oracle account sign in, if you already have an account, fill up your credentials to login Oracle account. If you don't have an Oracle account, just create an account and proceed to download JDK 8u241 Offline Installer.
Download JDK Offline Installer for Windows
Direct Download Java SE Development Kit 8 for Windows 32-bit (Size: 191.22 MB)
Direct Download Java SE Development Kit 8 for Windows 64-bit (Size: 198.03 MB)
Download JDK Offline Installer for Mac
Offline Installer Java SE Development Kit 8 for Mac OS X (Size: 226.57 MB)
Jdk Download For Mac
Download JDK Offline Installer for Linux
Direct Download Java SE Development Kit 8 for Linux 32-bit rpm(Size: 164.66 MB)
Download Java 8 Mac Os X
If you already have Eclipse installed on your Mac, you need to get rid of it. To do so, first quit Eclipse if you're currently running it. Then, go to your workspace folder (probably in Documents/workspace) and save anything there that you want to keep, because you're about to get rid of this folder. Next, drag the workspace folder to the Trash.
Go to your Applications folder. One way to get there is, from the Finder, type command-shift-A. You'll a folder named eclipse in there; drag the eclipse folder to the Trash. If you have an Eclipse icon in your dock, remove it from the dock.
Now you're ready to download and install the newest version of Eclipse. Go to this website. You'll see a window like this:
Scroll down until you see 'Eclipse IDE for Java Developers' and click where it says 64 bit under Mac OS X.
You will see this window:
Click on the yellow download button. If asked, click on 'Open with Archive Utility (default)' and then click OK. The download might take a few minutes. You should not feel compelled to donate.
After the download completes, folders should automatically expand. If they don't, double-click on the .tar file. When that's done, you should see a folder named eclipse in your Downloads folder. 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. 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.
Open your Applications folder, and then open the eclipse folder. 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.
Launch Eclipse. If you're asked whether you want to open it, of course you do; click Open. You'll see a window like this:
It will have your user name rather than mine (scot). Select where you want your workspace to be; I recommend the default of your Documents folder. Click the checkbox for using this location as the default, and then click OK.
You'll see a window like this:
Click on the Workbench arrow in the upper right that I've circled. You shouldn't see this screen again, even if you quit Eclipse and relaunch it.
You'll get an empty workbench like this:
We won't be using the 'Task List' and 'Connect Mylyn' windows. Click the 'x' on each to close it. Press the mouse on the Window menu item, then choose 'Perspective', and finally choose 'Save Perspective as..'. Enter 'cs10' for the name of this perspective and press return. Your workbench will now look like this:
You have now installed Eclipse!
Configuring Eclipse
You don't have to configure Eclipse the way I do, but you'll probably avoid some confusion if you do. Here's how.
In the Eclipse menu bar, click on the Eclipse menu and then on 'Preferences..'. You'll see a window with two panes. On the left pane is a list of types of things you can configure.
Click on the triangle to the left of General. Then click on the triangle to the left of Appearance. Then click on 'Colors and Fonts.' You should see a window like this:
In the window in the middle, click on the triangle next to Java. Then double-click on 'Java Editor Text Font':
You'll see this window:
On the right, where you can select the size, click 12. Then close this window by clicking on the window's close button.
Close up the General preferences by clicking on the triangle to the left of General. Click the triangle next to Java and then click the triangle next to 'Code Style.' Then click Formatter. Here's what you should see:
Click the button that says 'New..'. You'll see a window such as this one:
You can type in any profile name you like. I used 'CS 10':
Click OK.
You should see a window like this:
Change the tab size to 2:
You'll see that the indentation size automatically changes as well.
Click on 'Blank Lines,' and after 'Between import groups' and 'Before declarations of the same kind,' change the values 1 to 0:
Click on 'Control Statements,' and check the first four boxes as I've done here:
Click OK.
Now click on triangles to close up Java. Click on the triangle next to Run/Debug, and then click on Console:
Click on the green color sample next to 'Standard In text color.' You'll get a color picker:
Slide the slider on the right down, so that you get a dark green. (You're at Dartmouth. What other color could you possibly want?)
Close the color picker window by clicking its close button, and click OK again to close the Preferences window.
And you're done!
Download Java Development Kit 8 Offline Installer
Java Development Kit is a full featured development environment for building applets, applications, and components in Java. JDK includes JRE and development tools which are used to develop, debug and monitor programs written in Java programming language. You can download JDK offline installer using direct links given later in this blog post.
Java SE Development Kit 8u241 is the latest release and it's recommended for developers to download the latest JDK version.
JDK offline installer lets you download and install JDK Development Kit on multiple PCs even without Internet connectivity. Java offline installer download links are official ones, therefore, it's 100% safe to download JDK 8u241 using these links.
If you want to run Java programs on your browser or computer, you would need to download JRE, on the other hand, to develop Java programs, you need to download Java SE Development Kit 8 offline installer.
JDK 8 offline installer is available for Windows, MacOS, Linux, and Solaris. You can download JDK 32-bit or JDK 64-bit as per your system requirements.
Note: Before you start downloading JDK 8 update 241, you need to accept OTN license terms as Oracle doesn't allow automatic JDK download. For this, visit the official Oracle site and click on 'Accept License Agreement' radio button (see the screenshot). Now you will be able to download JDK 8u241 using the links given below.
If you don't accept Oracle's OTN license terms, the following error will be displayed when you click on the JDK download link.
Download JDK 8u241 Offline Installer for All Platforms
To download the latest JDK offline installer full setup, just navigate the official website of Oracle and the get the JDK 8 direct download link for your particular platform.
Download JDK 8u241 Offline Installer
When you click on the download link of JDK 8, you are asked for Oracle account sign in, if you already have an account, fill up your credentials to login Oracle account. If you don't have an Oracle account, just create an account and proceed to download JDK 8u241 Offline Installer.
Download JDK Offline Installer for Windows
Direct Download Java SE Development Kit 8 for Windows 32-bit (Size: 191.22 MB)
Direct Download Java SE Development Kit 8 for Windows 64-bit (Size: 198.03 MB)
Download JDK Offline Installer for Mac
Offline Installer Java SE Development Kit 8 for Mac OS X (Size: 226.57 MB)
Jdk Download For Mac
Download JDK Offline Installer for Linux
Direct Download Java SE Development Kit 8 for Linux 32-bit rpm(Size: 164.66 MB)
Download Java 8 Mac Os X
Direct Download Java SE Development Kit 8 for Linux 64-bit rpm (Size: 162.11 MB)
Direct Download Java SE Development Kit 8 for Linux 32-bit tar (Size: 179.39 MB)
Direct Download Java SE Development Kit 8 for Linux 64-bit tar (Size: 176.95 MB)
Download JDK Offline Installer for Solaris
Direct Download Java SE Development Kit 8 for Solaris 64-bit (Size: 140.51 MB)
Direct Download Java SE Development Kit 8 for Solaris SPARC 64-bit (Size: 139.79 MB)