From owner-freebsd-java Tue Oct 23 12:21:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 3D72237B425 for ; Tue, 23 Oct 2001 12:21:17 -0700 (PDT) Received: from notebook.vega.com (h179.229.dialup.iptcom.net [212.9.229.179]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id WAA40553; Tue, 23 Oct 2001 22:21:05 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-Id: <200110231921.WAA40553@ipcard.iptcom.net> To: neuroboy@optonline.net Cc: java@FreeBSD.org From: Maxim Sobolev Subject: Re: problem with jdk13 port X-Mailer: Pygmy (v0.5.13) Date: Tue, 23 Oct 2001 22:21:03 EEST In-Reply-To: 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 Sun, 21 Oct 2001 16:17:22 -0400, John Clayton wrote: > Hello, > > I encountered difficulty while installing the jdk13 port. here are the last > few lines of output: > > /usr/bin/sed -e > 's!interpreter\.o!../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/&!g' > > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/interpreter.d > /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 > /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 > gmake[3]: *** > [../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c] Error 1 > > > > I had set all my environment vars, and have the linux jdk installed, so I'm > not sure what the cause may be. perhaps you can help. If not, sorry for > bugging you. The following piece look suspicious (note an empty argument ""): [...] -bootclasspath "" [...] It looks like you have set some Java environment variables, that somehow interfere with the build. Please note, that in order to build the port you don't need any extra environment tweakage. Therefore I would advise to carefully examine your environment, i.e. `set | grep ^J' and unset all variables that look suspiciously. Alternatively, create a virgin user and try to build the port under that account instead. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message