Home

Awesome

OpenJDK unofficial installers for Windows, Linux and Mac OS X

###Project discontinued

This project is discontinued.

Up-to-date OpenJDK 8 binaries for Windows x86_64 are available in ojdkbuild GitHub project.

Some details can be found in this issue about jdk8.

###OpenJDK 7 update 80 build 32

Older downloads may be found at the bottom of the page.

###Mailing list

For questions about these builds you may use the mailing list:

###Other OpenJDK builds

Downloads description

Note: description represents information about current builds (on the top of the page). For previous builds (at the bottom of the page) please see description, linked near them

###Source code

OpenJDK 7 binaries were built from the jdk7u80-b32 of official OpenJDK 7 Update Releases repositories forest.

###Build platforms

OpenJDK project has "minimum build environments" (MBE) that should generate most-compatible binaries - OpenJDK7 MBE, Mac OS X MBE.

Build environments used for OpenJDK7:

###FreeType

On Linux and Mac OS X system prebuilt freetype libraries are used. On windows, libraries (.dll and .lib) were built from version 2.5.3 as release-multithreaded using the same compilers as openjdk itself.

Simple header patch was applied for all builds.

###CA certificates

OpenJDK source code contains empty cacerts file, that may cause troubles working with HTTPS (trustAnchors error). These builds contain cacerts file generated with script from obuildfactory project.

###Unlimited cryptography

All builds use unlimited cryptography by default.

###JavaScript support

OpenJDK supports scripting languages through JSR 223 specification. But Mozilla Rhino is not a part of OpenJDK and these builds don't bundle out-the-box implementation for "JavaScript" engine for javax.script. To use JavaScript with these builds please see this issue for details.

###Debug symbols

Debug builds are included as additional downloads for all "zip" and "bundle" downloads. They contain debug symbols for native binaries and for java classes. See this issue for additional info.

Mac OS X builds do not support native debug symbols - bug entry, additional info.

For OpenJDK6 all Windows builds contain native debug symbols and all Linux builds does not contain ones. Classfiles debug symbols are included in all -debug-image builds.

###Installers

Installers were built using IzPack installer. Installers contain JDK files (JRE may be installed separately) and uninstallers. Installers for all platforms contain exactly the same content: jre directory, izpack's install.jar and install executable launcher. With default settings installers do not require administrator privileges.

Installers may add JAVA_HOME environment variable and adjust user PATH variable on all platforms. On Windows global PATH variable and Windows Registry are also supported (see this issue) but may require administrator privileges.

###Native launchers

install and uninstall native launchers (with .exe on windows) were built using jar-launcher. They run install.jar and uninstall.jar using bundled JRE.

###Zip images

ZIP downloads (*-image.zip files) contain zipped JDK files (contents of j2sdk-server-image).

###Mac OS X application bundle

Mac OS X downloads additionally contain application bundle (*-bundle.zip) and installation script for local user install.

###Fonts

DejaVu fonts are included with all builds.

###Malware threats

All builds are checked with antivirus software before publishing. I also recommend building them yourself for safety.

Build Process (manual builds)

###Linux and Mac OS X builds

Linux and Mac builds are quite easy:

###Windows builds

Windows build is more comlicated than linux and mac ones. It is described in official build doc.

This git repository contains tools, libraries and build environment .bat scripts.

Microsoft compiler toolchains and DirectX SDK cannot be distributed on github because of legal reasons, so some prerequisites installation required.

####DirectX libraries

Microsoft DirectX 9.0 SDK (Summer 2004) is used in all windows builds. It was available on microsoft.com (I've dowload it there in November 2012), but it may be not available now. It may be found online on other sites. File details:

After installation DirectX files should be put into libs/directx directory, files list.

####Microsoft compilers

OpenJDK7 i586 builds should work on 32-bit Windows XP and later, amd64 builds - on 64-bit Windows 2003 and later.

Both i586 and amd64 versions of OpenJDK7 may be built using the same Windows 7.1 SDK (you'll need some additional files for amd64). SDK files should be copied into utils/winsdk71 and may be used as standalone toolchain on completely clean windows box:

####JDK7 compiler

JDK7 is required to build OpenJDK7 with IcedTea patches. OpenJDK version or Oracle one should be installed.

####Run build

###Create installer

To create IzPack installer for newly built j2sdk-server-image run this command from the same Cygwin console:

openjdk-unofficial-builds/installer/build-installer.sh path/to/openjdk_sources_root

You may edit IzPack installer descriptor and attendant files for corresponding platform in installer/<platform> directory.

izpack-launcher wrapper is used to launch Izpack installer build. IzPack standalone compiler also may be used without this wrapper.

Build Process (auto builds)

Note: auto build setup is complex, if you have troubles with it, please write to mailing list.

###Host environment

Linux or mac should be used as a host:

###Virtual machines

Note: it may be not legal to use Mac OS X guest on non-mac hosts - SO link

###Run build

To run build for a single platform use:

. jdk7-<platform>.env
./build.sh

Live build output will be written to build.log.

To run build for a multiple platform use:

./start.sh

Output also will be tailed to console.

Distributions will be placed into dist host directory.

###Build process under the hood

License information

OpenJDK binaries are released under the GNU GPL v. 2 with classpath exception.

Build scipts have been written by me, they are released under the Apache License 2.0.

Other sources and binaries in this repository (cygwin, freetype etc.) are released under their corresponding licenses.

Changelog

2015-05-17

2014-06-05

2013-12-25

2013-12-09

2013-10-23

2013-10-07

2013-09-26

2013-09-25

2013-08-28

2013-08-19

2012-12-08

Previous downloads

###OpenJDK 6 build 31

Description corresponding to this version.

###OpenJDK 7 update 60 build 30

Description corresponding to this version.

###OpenJDK 7 update 45 build 31 (IcedTea 2.4.3)

Description corresponding to this version.

###OpenJDK 7 update 40 build 43

Description corresponding to this version.

###OpenJDK 6 build 30

Description corresponding to this version.

###OpenJDK 6 build 29

Description corresponding to this version.

###OpenJDK 6 build 28

Description corresponding to this version.

###OpenJDK 7 update 40 build 60 (IcedTea 2.4.2)

Description corresponding to this version.

###OpenJDK 7 update 40 build 31 (IcedTea 2.4.1)

Description corresponding to this version.

###OpenJDK 7 update 6 build 24

Description corresponding to this version.

###OpenJDK 6 build 27

Description corresponding to this version.