If the older JDK isn't on your machine, you'd need to use the GUI and download the Java updater. The one closest to yours I could find was for Java 1.6.015 for Mac OS 10.5 (you didn't mention which Mac OS X version you were running): Java for Mac OS X 10.5 Update 5. I didn't see any for Mac OS X 10.6. This article shows you how to install Java on Mac OSX, and also how to do Java/JDK version switching. Mac OS 10.15.3; JDK 8, 9, 10, 11, 12, 13 (AdoptOpenJDK). Download Java Jdk 1.6 For Mac Windows 7 Jdk 1.6 Download 64 Bit Apr 26, 2019 JDK for Mac Free Download: JDK for Mac is the SDK platform that provides a specific implementation of Java SE, Java EE, and Java ME platforms.
- Java Jdk 6 Download Mac Download
- Java Jdk 6 Download Mac Os X
- Java Se 6 Runtime Mac Download
- Java Jdk 6 Download Jre
- Java Jdk 6 Download Mac Iso
Google is committed to advancing racial equity for Black communities. See how.
Note: These requirements apply only to building older versions of Android. For the Android Open Source Project (AOSP) master
branch, see the standard Requirements and Establishing a Build Environment.Building recent old releases (>= 5.0 Lollipop)
For Android versions 8.0 (Oreo or O) – 5.0 (Lollipop or L), consider using the included Dockerfile to ease the installation of all required packages.
Building really old releases (<= 4.4 KitKat)
Operating systems
Android is typically built with a GNU/Linux or Mac OS X operating system. It's also possible to build Android in a virtual machine on unsupported systems such as Windows.
We recommend building on GNU/Linux. The Android build system normally runs ART on the build machine to precompile system DEX files. ART can run only on Linux, so the build system skips this precompilation step on non-Linux operating systems, resulting in an Android build with reduced performance.
GNU/Linux
- Android 6.0 (Marshmallow) – AOSP master: Ubuntu 14.04 (Trusty)
- Android 2.3.x (Gingerbread) – Android 5.x (Lollipop): Ubuntu 12.04 (Precise)
- Android 1.5 (Cupcake) – Android 2.2.x (Froyo): Ubuntu 10.04 (Lucid)
Mac OS X (Intel/x86)
- Android 6.0 (Marshmallow) – AOSP master: Mac OS X v10.10 (Yosemite) or higher with Xcode 4.5.2 and Command Line Tools
- Android 5.x (Lollipop): Mac OS X v10.8 (Mountain Lion) with Xcode 4.5.2 and Command Line Tools
- Android 4.1.x (Jelly Bean) – Android 4.4.x (KitKat): Mac OS X v10.6 (Snow Leopard) or Mac OS X v10.7 (Lion) and Xcode 4.2 (Apple Developer Tools)
- Android 1.5 (Cupcake) – Android 4.0.x (Ice Cream Sandwich): Mac OS X v10.5 (Leopard) or Mac OS X v10.6 (Snow Leopard) and the Mac OS X v10.5 SDK
GNU make
For versions lower than the AOSP master branch through Android 4.1.x (Jelly Bean), use GNU make (gmake) 3.82. For Android 4.0.x (Ice Cream Sandwich) and lower, revert from gmake 3.82 to avoid build errors.
Xcode and other packages
For lower versions of Mac OS X v10.8 or lower, install Xcode from the Apple developer site. If you are not already registered as an Apple developer, you must create an Apple ID to download.
If using Mac OS X v10.4, also install Bison:
For MacPorts, issue:
For Homebrew, issue:
Reverting from gmake 3.82
In Android 4.0.x (Ice Cream Sandwich) and lower, gmake 3.82 has a bug that prevents Android from building. You can install version 3.81 using MacPorts with these steps:
- Edit
/opt/local/etc/macports/sources.conf
and add this line: above the rsync line. Then create this directory: - In the new
dports
directory, run: - Create a port index for your new local repository:
- Install the old version of gmake:
JDK
Supported versions
- Android 7.0 (Nougat) – Android 8.0 (Oreo):
- Ubuntu: OpenJDK 8
- Mac OS X: JDK 8u45 or higher
- Android 5.x (Lollipop) – Android 6.0 (Marshmallow):
- Ubuntu: OpenJDK 7
- Mac OS X: jdk-7u71-macosx-x64.dmg
- Android 2.3.x (Gingerbread) – Android 4.4.x (KitKat):
- Ubuntu: Java JDK 6
- Mac OS X: Java JDK 6
- Android 1.5 (Cupcake) – Android 2.2.x (Froyo):
- Ubuntu: Java JDK 5
JDK for Linux
The
master
branch of Android in the Android Open Source Project (AOSP) comes with prebuilt versions of OpenJDK below prebuilts/jdk/
so no additional installation is required. Lower versions of Android require a separate installation of the JDK. On Ubuntu, use OpenJDK.
For Ubuntu 15.04 and higher
Run the following:
For Ubuntu LTS 14.04
There are no available supported OpenJDK 8 packages for Ubuntu 14.04. The Ubuntu 15.04 OpenJDK 8 packages have been used successfully with Ubuntu 14.04. Higher package versions (for example, those for 15.10, 16.04) don't work on 14.04 using the instructions below.
- Download the
.deb
packages for 64-bit architecture from old-releases.ubuntu.com:- openjdk-8-jre-headless_8u45-b14-1_amd64.deb with SHA256
0f5aba8db39088283b51e00054813063173a4d8809f70033976f83e214ab56c0
- openjdk-8-jre_8u45-b14-1_amd64.deb with SHA256
9ef76c4562d39432b69baf6c18f199707c5c56a5b4566847df908b7d74e15849
- openjdk-8-jdk_8u45-b14-1_amd64.deb with SHA256
6e47215cf6205aa829e6a0a64985075bd29d1f428a4006a80c9db371c2fc3c4c
- openjdk-8-jre-headless_8u45-b14-1_amd64.deb with SHA256
- Optionally, confirm the checksums of the downloaded files against the SHA256 string listed with each package above. For example, with the
sha256sum
tool: - Install the packages: Run
dpkg
for each of the.deb
files you downloaded. It may produce errors due to missing dependencies: To fix missing dependencies:
(Optional) Update the default Java version
Optionally, for the Ubuntu versions above, update the default Java version by running:
Note: During a build, if you encounter version errors for Java, see Wrong Java version for likely causes and solutions. JDK 9 & Later
Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux areavailable on release-specific pages of jdk.java.net as
.tar.gz
or.zip
archives.As an example, the archives for JDK 13 may be found on jdk.java.net/13 and may be extractedon the command line using
$ tar xvfopenjdk-13*_bin.tar.gz
or
$ unzipopenjdk-13*_bin.zip
depending on the archive type.
JDK 8
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-8-jre
The
openjdk-8-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then please install the openjdk-8-jdk
package.Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
Java Jdk 6 Download Mac Download
On the command line, type:
Java Jdk 6 Download Mac Os X
$ su -c 'yum installjava-1.8.0-openjdk'
The
java-1.8.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.8.0-openjdk-devel
package.JDK 7
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-7-jre
The
openjdk-7-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install the openjdk-7-jdk
package.Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
On the command line, type:
$ su -c 'yum installjava-1.7.0-openjdk'
The
java-1.7.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.7.0-openjdk-devel
package.JDK 6
Debian, Ubuntu,etc.
On the command line, type:
$ sudo apt-get installopenjdk-6-jre
The
openjdk-6-jre
package containsjust the Java Runtime Environment. If you want to develop Javaprograms then install the openjdk-6-jdk
package.Fedora, OracleLinux, Red Hat Enterprise Linux, etc.
Java Se 6 Runtime Mac Download
On the command line, type:
$ su -c 'yum installjava-1.6.0-openjdk'
Java Jdk 6 Download Jre
The
java-1.6.0-openjdk
packagecontains just the Java Runtime Environment. If you want to developJava programs then install the java-1.6.0-openjdk-devel
package.BSD Port
Java Jdk 6 Download Mac Iso
For a list of pointers to packages of the BSD Port forDragonFly BSD, FreeBSD, Mac OS X, NetBSD and OpenBSD, please seethe BSD porting Project's wikipage.