Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 22:21:03 EEST
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        neuroboy@optonline.net
Cc:        java@FreeBSD.org
Subject:   Re: problem with jdk13 port
Message-ID:  <200110231921.WAA40553@ipcard.iptcom.net>
In-Reply-To: <B7F8A592.4362%neuroboy@optonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110231921.WAA40553>