From owner-freebsd-java Sun Nov 4 9: 5:11 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id EA13F37B416; Sun, 4 Nov 2001 09:05:06 -0800 (PST) Received: from [166.70.2.122] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 160Qhk-0005nq-00; Sun, 04 Nov 2001 10:05:05 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id fA4H4tq70639; Mon, 5 Nov 2001 03:34:55 +1030 (CST) (envelope-from glewis) Date: Mon, 5 Nov 2001 03:34:54 +1030 From: Greg Lewis To: John Clayton Cc: Greg Lewis , sobomax@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: problem intalling the jdk13 port Message-ID: <20011105033454.A70422@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from neuroboy@optonline.net on Sat, Nov 03, 2001 at 05:23:03PM -0500 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Nov 03, 2001 at 05:23:03PM -0500, John Clayton wrote: > Hey All- > > After Greg's suggested problems with the path I started digging. I didn't > find any more info in the mailing lists, but I found the following and hope > somebody might be able to help. Maxim mentioned that -bootclasspath was > empty, but it isn't set in the environment, so I'm not sure why that's the > case. Interestingly, I received the exact same error while going back and > trying to install the jdk12-beta port. InvokersGen is giving me woes! See, for example, http://www.freebsd.org/cgi/getmsg.cgi?fetch=35381+37781+/usr/local/www/db/text/2000/freebsd-java/20000910.freebsd-java > SO, I then tried running each command from the make directories and got the > following: > > * tried compiling InvokersGen myself::: > > %/usr/local/linux-jdk1.3.1/bin/javac -J-Xmx64m -classpath > ../../../build/bsd-i386/classes -bootclasspath "" -sourcepath > "../../../build/bsd-i386/gensrc:../../../src/solaris/classes:../../../src/sh > are/classes" -d ../../../build/bsd-i386/classes -d > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj -nowarn > ../../../src/share/javavm/runtime/InvokerGen.java > %rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c > > * seemed to work ... but then::: > > %/usr/local/linux-jdk1.3.1/bin/java -classpath > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj InvokerGen < > ../../../src/share/javavm/include/invokers.txt > > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c > Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen > > ** DRAT ! ** invokers.c is built automatically everytime. If you've built it yourself and want it to stick around you need to comment out the lines in the makefile which build it automatically: invokers.c: InvokerGen.class invokers.c: $(SHARE_SRC)/javavm/include/invokers.txt $(RM) $@ $(BOOTDIR)/bin/java -classpath . InvokerGen < $< > $@ (this is in build/freebsd/java/jvm/GNUmakefile). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message