Can't compile openjdk7 at 340877 (fixed)

George Mitchell george+freebsd at
Tue Jan 28 01:06:50 UTC 2014

On 01/27/14 09:04, Matthew D. Fuller wrote:
> On Mon, Jan 27, 2014 at 06:23:16AM -0500 I heard the voice of
> George Mitchell, and lo! it spake thus:
>> I updated my ports tree to revision 340877, and trying to compile
>> openjdk7 dies like this:
>> cd bsd_amd64_compiler2/product && ./test_gamma
>> Using java runtime at: /usr/local/openjdk7/jre
>> Error occurred during initialization of VM
>> java/lang/NoClassDefFoundError: java/lang/invoke/AdapterMethodHandle
> <>
> My solution was forcing it to use the bootstrap version again.
Fortunately I still had a package for the bootstrap compiler around.
Using "portmaster -BDg -m BOOTSTRAPJDKDIR=/usr/local/bootstrap-openjdk
java/openjdk7" appears to have solved the problem for me.  Thanks for
your help!                                                 -- George

More information about the freebsd-ports mailing list