I’m basing this blog entry on this reference page. There are only a few different things that you need to do so I will spell those out cleanly relative to what was previously needed:
- Grab the dependencies except for JIBX, it is no longer needed for the build.
- Checkout the code as described.
- export JAVA_HOME=$SOYLATTE_HOME
- The build script is somewhat different:
env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \ make \ CC=gcc-4.0 CXX=g++-4.0 \ ALT_BOOTDIR=$SOYLATTE_HOME \ JAVA_TOOLS_DIR=$SOYLATTE_HOME/bin \ ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \ ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \ ANT_HOME=/usr/share/ant \ NO_DOCS=true \ HOTSPOT_BUILD_JOBS=1
That should then result in a build/bsd-i586/j2sdk-image directory containing the JDK.