README: This file should be located at the top of the jdk Mercurial repository. See http://openjdk.java.net/ for more information about the OpenJDK. Simple Build Instructions: 1. Download and install a JDK 6 from http://java.sun.com/javase/downloads/index.jsp Set the environment variable ALT_BOOTDIR to the location of this JDK 6. 2. Either download and install the latest JDK7 from http://download.java.net/openjdk/jdk7/, or build your own complete OpenJDK7 by using the top level Makefile in the OpenJDK Mercurial forest. Set the environment variable ALT_JDK_IMPORT_PATH to the location of this latest JDK7 or OpenJDK7 build. 3. Check the sanity of doing a build with the current machine: cd make && gnumake sanity See README-builds.html if you run into problems. 4. Do a partial build of the jdk: cd make && gnumake all 5. Construct the images: cd make && gnumake images The resulting JDK image should be found in build/*/j2sdk-image
Introduction
Over the years, Java has proliferated in Alibaba. Many applications are written in Java and many our Java developers have written more than one billion lines of Java code.
Alibaba Dragonwell, as a downstream version of OpenJDK, is the OpenJDK implementation at Alibaba optimized for online e-commerce, financial, logistics applications running on 100,000+ servers. Alibaba Dragonwell is the engine that runs these distributed Java applications in extreme scaling.
Alibaba Dragonwell is clearly a "friendly fork" under the same licensing terms as the upstream OpenJDK project. Alibaba is committed to collaborate closely with OpenJDK community and intends to bring as many customized features as possible from Alibaba Dragonwell to the upstream.
Using Alibaba Dragonwell
Alibaba Dragonwell JDK currently supports Linux/x86_64 platform only.
Installation
- You may download a pre-built Alibaba Dragonwell JDK from its GitHub page: https://github.com/alibaba/dragonwell11/releases.
- Uncompress the package to the installation directory.
Enable Alibaba Dragonwell for Java applications
To enable Alibaba Dragonwell JDK for your application, simply set JAVA_HOME
to point to the installation directory of Alibaba Dragonwell. If you installed Dragonwell JDK via YUM, follow the instructions prompted from post-install outputs, e.g.:
=======================================================================
# Assuming Alibaba Dragonwell 11 is installed to:
# /opt/alibaba/java-11-alibaba-dragonwell
# You can set Alibaba Dragonwell as default JDK by exporting following environment variables:
$ export JAVA_HOME=/opt/alibaba/java-11-alibaba-dragonwell
$ export PATH=${JAVA_HOME}/bin:$PATH
=======================================================================
Acknowledgement
Special thanks to those who have made contributions to Alibaba's internal JDK builds.
Publications
Technologies included in Alibaba Dragonwell have been published in following papers