Java 7 Jdk Mac Osx Download

This article shows you how to install Java on Mac OSX, and also how to do Java/JDK version switching.

Java: Installing JDK on Mac using Homebrew Published: October 14, 2018 – 1 min read Homebrew is a package manager that makes it easy for us to install all sorts of development tools such as MySQL, Mongo, Ruby on Rails, and Java. In my previous post, I described two issues that I was facing with JDeveloper using Oracle JDK 1.7 on a Mac OS X system. After a few trials, I have found that you will need Apple JDK 1.6 for installing JDeveloper.

  • Our website provides a free download of Java SE Runtime Environment 7 1.7 for Mac. The program lies within Developer Tools, more precisely General. This free software for Mac OS X was originally produced by Oracle Corporation. Our antivirus scan shows that this Mac download is clean.
  • Java version “1.7.009” Java(TM) SE Runtime Environment (build 1.7.009-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode) Topics: java, jdk, mac osx.
  • Mac OS X Port Project. The goal of this Project is to produce a high-quality, open source version of JDK 7 for the Mac. The final release has the following goals: Pass all appropriate certification tests for Java SE 7; Include a complete, native Cocoa-based UI Toolkit; Provide excellent performance; This Project is sponsored by the Porters.

Tested with

  • Mac OS 10.15.3
  • JDK 8, 9, 10, 11, 12, 13 (AdoptOpenJDK)

On Mac OSX, Java should installed in this folder; it is Mac’s standard.

We will show you two ways to install Java JDK on Mac, via the popular Homebrew package manager and manually installation.


1. Homebrew

1.1 Install Homebrew and update it.

1.2 Add adoptopenjdk/openjdk.

1.3 Find all available JDK.

The output may vary.

1.4 Java 8, 9, 10, 11, 12, 13, choose one to install.

This example will install Java 8 and 11 for testing.

1.5 Where Java is installed? /usr/libexec/java_home -V

Homebrew will install the JDK at folder /Library/Java/JavaVirtualMachines/, and this folder is Mac’s standard folder for Java installs.

1.6 Test it, by default, Mac takes the highest version.

1.7 How to do version switching? Refer to below 3. version switching

2. Manual installation

The example shows you how to download the early access JDK 14 and install it on Mac OSX.


  • Download JDK.
  • Puts the JDK folder at /Library/Java/JavaVirtualMachines.
  • Export JAVA_HOME.

2.1 Download the early access JDK 14 from the OpenJDK website.

2.2 Extracts tar file to /Library/Java/JavaVirtualMachines

Bittorrent free download for mac os x 10.5.8. 2.3 Export JAVA_HOME.

Find out where is JDK 14.

Create or edit the existing ~/.bash_profile with a text editor.

Export JAVA_HOME, save and exit.


Reflect the changes

2.4 Test it.

3. Version Switching

Java Jdk 7 Download Windows

In this tutorial, we installed the Java 8 and Java 11 via Homebrew (Step 1), and Java 14 manually (Step 2), so this Mac has three versions now. And the Mac is using the JDK 14.

There are tools like jEnv to manage the Java version switching, but I prefer to manage with export JAVA_HOME manually, it’s simple and easy to understand, no black box magic.

3.1 Create or edit the existing ~/.bash_profile with a text editor like vim or nano, export JAVA_HOME to the specified JDK we want to use on Mac.

The above changes will make JAVA_HOME point to JAVA 8.

3.2 Reflect the changes.


If we want to switch JDK version again, update the ~/.bash_profile and export JAVA_HOME to other JDK version.


Tags : beginnerinstall jdkinstall-javamac

Related Articles


Founder of, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

The JDK source code is packaged in a src.jar, and should be in the JDK/Home folder. However, some JDK versions in Mac OSX didn’t include the source code or Javadoc.

Try find it :

If you couldn’t find the src.jar, then get it from Apple developer website.

Download Java Jdk 1.7

1. Download from Apple Developer

Go , sign in with your Apple ID.

Java Jdk 7 Environment For Macos 64-bit Download

Java 7 Jdk Mac Osx Download

Download the “Java for OS X 2013-0* Developer Package“, it contains JDK runtime, source code and Javadoc, install the downloaded *.dmg and follow the wizard guide to finish the installation.

2. Find JDK Source Code

After the installation, the JDK source code should be found in following location :

Alternatively, you can download the JDK source from the Oracle JDK website.

Java Jdk 7 Mac Os X Download


Download Java 1.7

Related Articles

Java Jdk 7 Download 64 Bit


Founder of, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.