From owner-freebsd-java Thu Jul 4 0: 9:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1357737B400 for ; Thu, 4 Jul 2002 00:09:36 -0700 (PDT) Received: from novakom.dp.ua (ns.novakom.dp.ua [195.24.147.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 68EB943E09 for ; Thu, 4 Jul 2002 00:09:31 -0700 (PDT) (envelope-from valera@novakom.dp.ua) Received: (qmail 1021 invoked from network); 4 Jul 2002 06:59:16 -0000 Received: from goliath.novakom.dp.ua (HELO there) (192.168.1.210) by post.novakom.dp.ua with SMTP; 4 Jul 2002 06:59:16 -0000 Content-Type: text/plain; charset="koi8-r" From: Valery V.Chikalov To: "adrian" Subject: Re: OpenJIT problem Date: Thu, 4 Jul 2002 10:19:25 +0300 X-Mailer: KMail [version 1.3] Cc: References: <006801c2228f$fce61500$d901a8c0@novakom.dp.ua> <001301c222a0$da1b7720$0801000a@atlanta.pcmediconsite.com> In-Reply-To: <001301c222a0$da1b7720$0801000a@atlanta.pcmediconsite.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020704070931.68EB943E09@mx1.FreeBSD.org> 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 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" > To: > 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