Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 10:19:25 +0300
From:      Valery V.Chikalov <valera@novakom.dp.ua>
To:        "adrian" <athiele@pcmediconsite.com>
Cc:        <freebsd-java@FreeBSD.org>
Subject:   Re: OpenJIT problem
Message-ID:  <20020704070931.68EB943E09@mx1.FreeBSD.org>
In-Reply-To: <001301c222a0$da1b7720$0801000a@atlanta.pcmediconsite.com>
References:  <006801c2228f$fce61500$d901a8c0@novakom.dp.ua> <001301c222a0$da1b7720$0801000a@atlanta.pcmediconsite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank You for detailed explanation.
I shell try and post results.

Good luck.

Valery.


On Wednesday 03 July 2002 17:49, adrian wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Excerpt from an article I wrote for native FreeBSD 1.3.1
> pacth level 6, FreeBSD 4.5.
> You may need to change some of the paths (usr/bsdjava etc....).
> Also I did not have to add  anything to the LD_LIBRARY path.
> make sure you add the JAVA_HOME and JAVA_COMPILER to you .profile or
> whatever.
> If not the exports are only active in the current xterm
> Just In Time Compiler
> In order to speed up execution time, a just in time compiler will translate
> Java bytecode into machine code on the fly. None of Sun's JITs have been
> ported yet, but third party products are available.
>
> OpenJIT is available from http://www.openjit.org. It is real easy to
> install. Use the latest version 1.1.6. Download it to /usr/bsdjava with the
> other files.
>
> Extract it in /usr/bsdjava directory with:
>
> gtar -xvzf OpenJIT-1.1.16.tar.gz
>
> Set JAVA_HOME:
> export JAVA_HOME=/usr/j2sdk1.3.1
>
> Add it to your .profile file as well. If your using csh set JAVA_HOME with
> the command:
> setenv JAVA_HOME /usr/j2sdk1.3.1
>
> Add to your .cshrc file.
>
> Change directory to /usr/bsdjava/OpenJIT-1.1.16 and execute:
>
> ./configure
>
> then:
> gmake ; gmake install
>
> One last environment variable to set:
> export JAVA_COMPILER=OpenJIT
>
> Go ahead and add it to your .profile file as well.
>
> Test it to make sure it installed with:
>
> java -version
>
> You should see:
> Classic VM (build 1.3.1-p6-root-020221-19:31, green threads, OpenJIT)
>
> ----- Original Message -----
> From: "Valery V.Chikalov" <valera@novakom.dp.ua>
> To: <freebsd-java@FreeBSD.ORG>
> Sent: Wednesday, July 03, 2002 8:48 AM
> Subject: OpenJIT problem
>
> > Just after succesfull OpenJIT install:
> >
> > #uname -a
> > FreeBSD goliath.novakom.dp.ua 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Wed Mar
>
> 6
>
> > 08:45:07 EET 2002
> > root@goliath.novakom.dp.ua:/usr/src/sys/compile/GOLIATH
> >  i386
> >
> > #export LD_LIBRARY_PATH=/usr/local/lib/OpenJIT
> > #export CLASSPATH=/usr/local/lib/OpenJIT/OpenJIT.jar
> > #export JAVA_COMPILER=OpenJIT
> >
> > #java  -version
> >
> > Warning: JIT compiler "OpenJIT" not found. Will use interpreter.
> > java version "1.3.1-p6"
> > Java(TM) 2 Runtime Environment, Standard Edition (build
> > 1.3.1-p6-root-020607-13:51)
> > Classic VM (build 1.3.1-p6-root-020607-13:51, green threads, nojit)
> >
> > #pkg_info | grep openjit
> > openjit-1.1.15      A high-performance reflective Java Just-In-Time (JIT)
> > bytec
> >
> > #java  -Djava.compiler=OpenJIT -version
> >
> > -The same
> >
> > Is  this known issue?
> > What i'm miss?
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-java" in the body of the message

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?20020704070931.68EB943E09>