Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2000 21:02:16 +0900
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        Joshua Goodall <joshua@roughtrade.net>
Cc:        Zsolt Kuti <kuti@kuti.cetelem.hu>, Cedric Berger <cedric@wireless-networks.com>, freebsd-java@FreeBSD.ORG
Subject:   Re: OpenJIT problem
Message-ID:  <55wvd04lrr.wl@tripper.is.titech.ac.jp.is.titech.ac.jp>
In-Reply-To: <Pine.BSF.4.21.0012160056140.24594-100000@juice.shallow.net>
References:  <3A3AACBC.FCCB132A@wireless-networks.com> <Pine.BSF.4.21.0012160056140.24594-100000@juice.shallow.net> <Pine.BSF.4.21.0012160010210.24594-100000@juice.shallow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, there.

At Sat, 16 Dec 2000 00:26:01 +0100 (CET),
Joshua Goodall wrote:
> 
> Why did I unroll OpenJIT.jar into the slightly magical JRE classes
> directly? ... because trial-and-error techniques showed that it worked!
> Placing OpenJIT.jar into the classpath or in jre/lib/exit/ was
> unsuccessful. I didn't investigate, and put it down to some quirk of
> classloader ordering.

I know the way to use OpenJIT.jar on JDK1.2.2 instead of extracting it
under /usr/local/jdk1.2.2/jre/classes.  All you need to do is
specifying an undocumented command line option '-Xbootclasspath/a:'
with an appropriate argument.

Assuming OpenJIT.jar is /usr/local/jdk1.2.2/jre/lib/OpenJIT.jar below.

You can execute Hello program with OpenJIT by typing:
JAVA_COMPILER=OpenJIT java -Xbootclasspath/a:/usr/local/jdk1.2.2/jre/lib/OpenJIT.jar Hello

CLASSPATH never help to solve the problem, because classes of org.OpenJIT
package are needed for JIT initialization and at the time, classes can
be loaded only from the bootclasspath.

--
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?55wvd04lrr.wl>