Date: Wed, 07 Jun 2000 11:25:32 +0100 From: "Koster, K.J." <K.J.Koster@kpn.com> To: 'Thomas Runge' <runge@rostock.zgdv.de>, freebsd-java@FreeBSD.ORG Subject: RE: jdk build Message-ID: <59063B5B4D98D311BC0D0001FA7E4522026D75FB@l04.research.kpn.com>
next in thread | raw e-mail | index | archive | help
> > So, I tried to build jdk 1.2.2 like described in Kees' > Webpage. The problem I have is, that Linux' java don't wants > relative pathnames for the classpath. > > So the build fails right here: > > /usr/local/linux-jdk1.2.2/bin/java -classpath . InvokerGen < > ../../../../src/share/javavm/include/invokers.txt > invokers.c > Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen I've seen this too on my home box: http://web.inter.nl.net/users/kjkoster/java/content/known.html#hd13 > > linux-jdk-1.2.2 installed via ports (which is actually a > jdk-1.2.2-RC4), FreeBSD 4.0-STABLE > > Looks like a wrong .java_wrapper, any ideas? > I thought it may be because I have a symlink in the path or something. I have been hacking at it for a but, but only half heartedly, becasue you can simply copy work/build/freebsd/java/jvm/*.class and work/src/share/javavm/include/invokers.txt to /tmp, then invoke the InvokerGen command line there, and finally move the generated .c file back into the right position. The JDK build fine after that. If you do a -verbose, you can see that InvokerGen.class does actually get loaded. Anyone knows what's wrong? Kees Jan ============================================== Everyone is responsible for his own actions, and (people tend to forget this) the effect they have on others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E4522026D75FB>
