Date: Tue, 6 Mar 2001 20:57:11 -0600 From: "Thomas T. Veldhouse" <veldy@veldy.net> To: <freebsd-java@freebsd.org> Subject: Native JDK and OpenJIT? Message-ID: <003801c0a6b2$4e616890$0100a8c0@cascade>
next in thread | raw e-mail | index | archive | help
Hello. I just built the OpenJIT port against the JDK1.2.2b10. I did it by modifying the makefile to look at the proper JDK. I have modified the CLASSPATH (export CLASSPATH=/usr/local/lib/OpenJIT/OpenJIT.jar) to include the OpenJIT.jar file and I had to put a link to the binary library, libOpenJIT.so into /usr/local/jdk1.2.2/jre/lib (it wasn't enough to put it in LD_LIBRARY_PATH). I still can not get the JDK to use OpenJIT as the JIT. It always falls back to the interpreter. It gives the error: 'Can't find class org/OpenJIT/X86'. The jar IS in the path and I checked and X86.class is indeed in the jar (under org/OpenJIT). What is wrong here? Is the JDK broken so that it doesn't read LD_LIBRARY_PATH or CLASSPATH anymore? [veldy@fuggle veldy]$ java -version Can't find class org/OpenJIT/X86 java version "1.2.2" Classic VM (build jdk1.2.2-FreeBSD:root:2001/03/06-18:57, green threads) Tom Veldhouse veldy@veldy.net 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?003801c0a6b2$4e616890$0100a8c0>