Step-by-step OpenJDK on OS X?

Ben Evans benjamin.john.evans at
Sat Jan 31 10:31:27 PST 2009

Hi Kurt,

On Sat, Jan 31, 2009 at 1:15 PM, Kurt Miller <kurt at>wrote:

> Ben Evans wrote:
> > Hi Charlie,
> >
> > My understanding is that the current bsd-port is still broken for OS X
> > and that we expect it to be unbroken sometime soon.
> To unbreak the OS X build you can issue the following commands which
> will revert the minor breakage in the tree right now. But first enable
> the mq extension in ~/.hgrc to enable the hg strip command:
> [extensions]
> =
> $ cd bsd-port
> $ cd hotspot
> $ hg strip 32826d5f1894
> $ cd ../jdk
> $ hg strip 97139295a172
> Temporally DEVTOOLS_PATH needs to be set to point an existing directory.
> It doesn't matter what dir since OS X doesn't use it, just something to
> satisfy the sanity check.


I'm having trouble with the ALT_JDK_IMPORT_PATH sanity check. My make line
seems basically identical to yours - except that you don't set

If I try building without that set, I get tons of warnings and then fail
immediately with this:

# Running javac:
Check_ALT_JDK_IMPORT_PATH/bin/javac -J-XX:ThreadStackSize=768 -J-client
-J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -source 1.5
-target 5 -encoding ascii -classpath
/usr/local/soylatte16-i386-1.0.3/lib/tools.jar -sourcepath
/bin/sh: Check_ALT_JDK_IMPORT_PATH/bin/javac: No such file or directory
make[4]: *** [.compile.classlist] Error 127

Could you post the output of set in your build shell so I can try and spot
any differences in the way our environments are setup?


-------------- next part --------------
An HTML attachment was scrubbed...

More information about the bsd-port-dev mailing list