From owner-freebsd-java Sat Nov 3 14:26: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.5.22]) by hub.freebsd.org (Postfix) with ESMTP id 62F9837B405; Sat, 3 Nov 2001 14:26:02 -0800 (PST) Received: from [192.168.1.100] (ool-18be4d4b.dyn.optonline.net [24.190.77.75]) by mta7.srv.hcvlny.cv.net (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GM8002M4WZBJJ@mta7.srv.hcvlny.cv.net>; Sat, 03 Nov 2001 17:25:59 -0500 (EST) Date: Sat, 03 Nov 2001 17:23:03 -0500 From: John Clayton Subject: Re: problem intalling the jdk13 port In-reply-to: To: John Clayton , Greg Lewis , sobomax@FreeBSD.org Cc: freebsd-java@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 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 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! Anyway --- here is the relevant error output: *First, try to compile InvokersGen ::: /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 *Then try to rm invokers.c ::: rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c *And finally, use InvokersGen ... and get an error::: /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 ------------- 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 ! ** * Then, I turned off -nowarn and tried to compile again ::: %/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 ../../../src/share/javavm/runtime/InvokerGen.java Note: ../../../src/share/javavm/runtime/InvokerGen.java uses or overrides a deprecated API. Note: Recompile with -deprecation for details. *tried it with -deprecation and got this::: %/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 ../../../src/share/javavm/runtime/InvokerGen.java -deprecation ../../../src/share/javavm/runtime/InvokerGen.java:164: warning: readLine() in java.io.DataInputStream has been deprecated while ((line = in.readLine()) != null) { ^ 1 warning ------------ So, I know this is LONG, but is this something I'm doing wrong here? I've got all my relevant environment variables unset before I start. I've got the linux jdk 1.3.1_01 installed. I've got the latest patches (p5). I am using a freeBSD box that was set up by my ISP (Interland's Freedom line) to allow for "virtual" servers, that is, everybody has their own apparent OS, with core elements shared. All the dependencies check out in the beginning. I drop the compressed source in a non-standard dir that was set up by Interland /usr/tmp/usr/ports/distfiles, but it doesn't seem to have any trouble finding them. If it's not me, then it's my set up. And it's odd that InvokersGen breaks under the jdk12-beta install too. I can't find any more info in the mailing list archives ... so, any help? Thanks, please excuse the missive, John ----------------------------------------------------------- "He who asks a question remains a fool for five minutes; He who never asks a question remains a fool forever" --Chinese Proverb John Clayton neuroboy@optonline.net > From: John Clayton > Date: Thu, 25 Oct 2001 19:53:35 -0500 > To: Greg Lewis > Cc: > Subject: Re: problem intalling the jdk13 port > > thanks greg, i'll do just that > > > ----------------------------------------------------------- > > "He who asks a question remains a fool for five minutes; > He who never asks a question remains a fool forever" > --Chinese Proverb > > > John Clayton > neuroboy@optonline.net > >> From: Greg Lewis >> Date: Wed, 24 Oct 2001 23:04:35 +0930 >> To: John Clayton >> Cc: freebsd-java@FreeBSD.ORG >> Subject: Re: problem intalling the jdk13 port >> >> On Sun, Oct 21, 2001 at 04:30:32PM -0400, John Clayton wrote: >>> I am having a problem installing the jdk13 port that seems complicated to my >>> understanding, so any help would be appreciated. I have all the requisite >>> ports, and have the linuk-jdk1.3.1 port installed. Everything goes pretty >>> well until the following: >>> >>> /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 >> >> There are known problems using the Linux JDK to generate invokers.c with >> certain directory paths. The problem appears to lie in the linuxulator >> itself. There are workarounds though -- take a look at the list archives. >> >> -- >> 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message