Issue compiling JDK15

Todd Shirk ts4short at
Thu Apr 7 11:08:13 PDT 2005


I've been attempting to compile JDK15 on my AMD64 laptop.  I have
linux redhat 8 installed for linux compatibility and the
linux-sun-jdk1.4.2 installed so that the /usr/ports/java/jdk15 would
use the appropriate javac compiler to compile JDK15 natively.  I reach
a point where I receive the following message.

execv(): Bad address
Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac.
Check if file exists and permissions are set correctly.
gmake[3]: *** [.compile.classlist] Error 1
gmake[3]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1] *** [all] Error 1
gmake[1]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.

I've checked and /usr/local/linux-sun-jdk1.4.2/bin/javac exists and
permissions appear adequate.  For giggles I chmod 777 on the file with
the same results.  Any thoughts?


More information about the freebsd-questions mailing list