From owner-freebsd-java Wed Jun 7 2:25:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from hermes.research.kpn.com (hermes.research.kpn.com [139.63.192.8]) by hub.freebsd.org (Postfix) with ESMTP id ABBC237B5BB for ; Wed, 7 Jun 2000 02:25:35 -0700 (PDT) (envelope-from K.J.Koster@kpn.com) Received: from l04.research.kpn.com (l04.research.kpn.com [139.63.192.204]) by research.kpn.com (PMDF V5.2-31 #42699) with ESMTP id <01JQBIVKW6BI0001K0@research.kpn.com> for freebsd-java@FreeBSD.ORG; Wed, 7 Jun 2000 11:25:33 +0200 Received: by l04.research.kpn.com with Internet Mail Service (5.5.2650.21) id ; Wed, 07 Jun 2000 11:25:32 +0100 Content-return: allowed Date: Wed, 07 Jun 2000 11:25:32 +0100 From: "Koster, K.J." Subject: RE: jdk build To: 'Thomas Runge' , freebsd-java@FreeBSD.ORG Message-id: <59063B5B4D98D311BC0D0001FA7E4522026D75FB@l04.research.kpn.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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