The default OpenJ9 build instructions use Docker, but I'd like to compile without Docker; specifically, on RHEL 7.3.
The build instructions on RHEL 7 (Or CentOS) should be fairly similar to OpenJDK with HotSpot.
I have a DockerFile that creates an OpenJ9 development environment based on CentOS 7. But if you want to create the environment manually, do this:
Grab the build dependency for compiling OpenJDK yum builddep java-1.8.0-openjdk
Grab the rest of the build dependencies which are not installed in the minimal centos image.
yum install java-1.8.0-openjdk-devel make file which unzip hg numactl-devel
grab a git 2 package from WANDisco: rpm -U http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm && yum install -y git
download freemarker and put the location into ./configure