diff -r 580159eeac07 -r cbae0e359538 doc/building.html --- a/doc/building.html Wed Jun 06 13:04:25 2018 -0700 +++ b/doc/building.html Wed Jun 06 13:16:12 2018 -0700 @@ -505,7 +505,7 @@
hotspot
- Build all of hotspot (but only hotspot)hotspot-<variant>
- Build just the specified jvm variantimages
or product-images
- Build the JRE and JDK imagesimages
or product-images
- Build the JDK imagedocs
or docs-image
- Build the documentation imagetest-image
- Build the test imageall
or all-images
- Build all images (product, docs and test)OpenJDK contains two different ports for the aarch64 platform, one is the original aarch64 port from the AArch64 Port Project and one is a 64-bit version of the Oracle contributed ARM port. When targeting aarch64, by the default the original aarch64 port is used. To select the Oracle ARM 64 port, use --with-cpu-port=arm64
. Also set the corresponding value (aarch64
or arm64
) to --with-abi-profile, to ensure a consistent build.
The build will end up in a directory named like build/linux-arm-normal-server-release
.
Inside this build output directory, the images/jdk
and images/jre
will contain the newly built JDK and JRE, respectively, for your target system.
Inside this build output directory, the images/jdk
will contain the newly built JDK, for your target system.
Copy these folders to your target system. Then you can run e.g. images/jdk/bin/java -version
.
Building OpenJDK requires a lot of horsepower. Some of the build tools can be adjusted to utilize more or less of resources such as parallel threads and memory. The configure
script analyzes your system and selects reasonable values for such options based on your hardware. If you encounter resource problems, such as out of memory conditions, you can modify the detected values with: