java.lang.NoClassDefFoundError building native 1.4 SDK
Erik
maillist.freebsd-java.2004 at openstandards.net
Thu Feb 19 19:46:23 PST 2004
I am trying to build the native JDK 1.4 for the first time, and am new
to FreeBSD. When I do a gmake, I get the following:
cd ../generated; /usr/local/linux-sun-jdk1.4.2/bin/java -classpath .
MakeDeps diffs UnixPlatform platform.current includeDB.current
/usr/tmp/j2sdk/hotspot/build/bsd/platform_i486 includeDB -firstFile
functionAtStart.cpp -lastFile functionAtEnd.cpp
Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps
gmake[2]: *** [../generated/includeDB.current] Error 1
I checked the
/usr/tmp/j2sdk/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/generated
folder, and MakeDeps.class is definately there. I even CD'd into the
folder and tried to call the class directly, but get the same error:
root at host# /usr/local/linux-sun-jdk1.4.2/bin/java -classpath
".;./MakeDeps.class" MakeDeps
Exception in thread "main" java.lang.NoClassDefFoundError: MakeDeps
It's as if it runs the main in the class, but then can't see itself as
an actual class. Without the source code, I can't see what it's trying
to do.
Can someone please help me? I ultimately need to run JBoss. What are
the consequences of using the Linux binary instead of a native FreeBSD
SDK?
Thank you,
Erik
OpenStandards.net
More information about the freebsd-java
mailing list