-
Daniel Brown authored
Adding in more parsing for finesse commands. Can no specify a chunk of finesse codee. Various other fixes included too. Currently GUI isn't working.
Daniel Brown authoredAdding in more parsing for finesse commands. Can no specify a chunk of finesse codee. Various other fixes included too. Currently GUI isn't working.
% Building the JDK
TL;DR (Instructions for the Impatient)
If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Git (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.
-
Get the complete source code:
git clone https://git.openjdk.java.net/jdk/
-
Run configure:
bash configure
If
configure
fails due to missing dependencies (to either the toolchain, build tools, external libraries or the boot JDK), most of the time it prints a suggestion on how to resolve the situation on your platform. Follow the instructions, and try runningbash configure
again. -
Run make:
make images
-
Verify your newly built JDK:
./build/*/images/jdk/bin/java -version
-
Run basic tests:
make run-test-tier1
If any of these steps failed, or if you want to know more about build requirements or build functionality, please continue reading this document.
Introduction
The JDK is a complex software project. Building it requires a certain amount of technical expertise, a fair number of dependencies on external software, and reasonably powerful hardware.
If you just want to use the JDK and not build it yourself, this document is not for you. See for instance OpenJDK installation for some methods of installing a prebuilt JDK.
Getting the Source Code
Make sure you are getting the correct version. As of JDK 10, the source is no
longer split into separate repositories so you only need to clone one single
repository. At the OpenJDK Git site you
can see a list of all available repositories. If you want to build an older version,
e.g. JDK 11, it is recommended that you get the jdk11u
repo, which contains
incremental updates, instead of the jdk11
repo, which was frozen at JDK 11 GA.