From owner-freebsd-java Tue Mar 6 18:58:26 2001 Delivered-To: freebsd-java@freebsd.org Received: from veldy.net (w028.z064001117.msp-mn.dsl.cnc.net [64.1.117.28]) by hub.freebsd.org (Postfix) with ESMTP id 0B91437B719 for ; Tue, 6 Mar 2001 18:58:24 -0800 (PST) (envelope-from veldy@veldy.net) Received: from cascade (cascade.veldy.net [192.168.0.1]) by veldy.net (Postfix) with SMTP id D022FBA3F for ; Tue, 6 Mar 2001 20:57:32 -0600 (CST) Message-ID: <003801c0a6b2$4e616890$0100a8c0@cascade> From: "Thomas T. Veldhouse" To: Subject: Native JDK and OpenJIT? Date: Tue, 6 Mar 2001 20:57:11 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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