Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 06:00:02 +0900
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        Jim Knoll <jknoll@indy.rr.com>
Cc:        <freebsd-java@FreeBSD.org>
Subject:   Re: Using OpenJIT with jdk1.3.1p4
Message-ID:  <55zo7xbi99.wl@tripper.private>
In-Reply-To: <20010914144703.Y49098-100000@server.home.domain>
References:  <20010914144703.Y49098-100000@server.home.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <fuyuhik8@is.titech.ac.jp>
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




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