From owner-freebsd-java Fri Sep 14 13:57:29 2001 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id D93F337B406 for ; Fri, 14 Sep 2001 13:57:24 -0700 (PDT) Received: from tripper.private by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id FAA07411; Sat, 15 Sep 2001 05:57:18 +0900 (JST) Date: Sat, 15 Sep 2001 06:00:02 +0900 Message-ID: <55zo7xbi99.wl@tripper.private> From: Fuyuhiko Maruyama To: Jim Knoll Cc: Subject: Re: Using OpenJIT with jdk1.3.1p4 In-Reply-To: <20010914144703.Y49098-100000@server.home.domain> References: <20010914144703.Y49098-100000@server.home.domain> User-Agent: Wanderlust/2.6.0 (Twist And Shout) on XEmacs/21.5.3 (asparagus) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII 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 At Fri, 14 Sep 2001 14:57:27 -0500 (EST), Jim Knoll wrote: > > Hello, > > I am trying to use OpenJIT with the latest jdk patchset. I couldn't get > openjit to build with the jdk1.3.1 so I built the port and then moved > libOpenJIT.so and the org/OpenJIT/*.class files to > /usr/local/jdk1.3.1/jre/lib/i386 and /usr/local/jdk1.3.1/jre/classes > respectively. I set the JAVA_COMPILER environment variable to OpenJIT. > When I try to run /usr/local/jdk1.3.1/bin/java -classic Hello I get the > following output: > Warning: JIT compiler "OpenJIT" not found. Will use interpreter. > Hello, World! > > Does anyone see what I could have done wrong? > I'm a developer of OpenJIT, we are preparing to release OpenJIT-1.1.16 which supports j2sdk1.3.1, you may need that. OpenJIT-1.1.16 will be released in a few days. But your problem isn't from the fact that OpenJIT-1.1.15 doesn't support 1.3.1. You should know all JIT compilers including OpenJIT must build against the very Java VM with which the JIT compiler are used. /usr/ports/java/openjit are tailored to build OpenJIT for JDK1.1.8, therefore you cannot use the compiled JIT with J2SDK 1.3.1. The only way to build OpenJIT for Java VM other than JDK 1.1.8 is configure and gmake by yourself, at this time. > BTW, I can run LimeWire, Tomcat, and Net Beans with the latest patchset. > Thanks to all of the porters for the excellent work. > > Jim -- Fuyuhiko MARUYAMA Matsuoka laboratory, Department of Mathematical and Computing Sciences, Graduate School of Information Science and Engineering, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message