Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2001 17:23:03 -0500
From:      John Clayton <neuroboy@optonline.net>
To:        John Clayton <neuroboy@optonline.net>, Greg Lewis <glewis@eyesbeyond.com>, sobomax@FreeBSD.org
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: problem intalling the jdk13 port
Message-ID:  <B809D876.45F8%neuroboy@optonline.net>
In-Reply-To: <B7FE1E3F.443B%neuroboy@optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <neuroboy@optonline.net>
> Date: Thu, 25 Oct 2001 19:53:35 -0500
> To: Greg Lewis <glewis@eyesbeyond.com>
> Cc: <freebsd-java@FreeBSD.ORG>
> 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 <glewis@eyesbeyond.com>
>> Date: Wed, 24 Oct 2001 23:04:35 +0930
>> To: John Clayton <neuroboy@optonline.net>
>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B809D876.45F8%neuroboy>