From owner-freebsd-java Wed Aug 30 4: 1:43 2000 Delivered-To: freebsd-java@freebsd.org Received: from light.muraoka.info.waseda.ac.jp (light.muraoka.info.waseda.ac.jp [133.9.68.50]) by hub.freebsd.org (Postfix) with ESMTP id E7D2737B42C for ; Wed, 30 Aug 2000 04:01:40 -0700 (PDT) Received: from localhost (IDENT:shudoh@localhost [127.0.0.1]) by light.muraoka.info.waseda.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id UAA12585 for ; Wed, 30 Aug 2000 20:03:50 +0900 To: freebsd-java@freebsd.org Subject: Re: RE: BDK and JITs (and NetBSD) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D77FD@l04.research.kpn.com> References: <59063B5B4D98D311BC0D0001FA7E4522026D77FD@l04.research.kpn.com> X-Mailer: Mew version 1.95b2 on XEmacs 21.1 (Acadia) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000830200350E.shudoh@muraoka.info.waseda.ac.jp> Date: Wed, 30 Aug 2000 20:03:50 +0900 From: SHUDO Kazuyuki X-Dispatcher: imput version 991007(IM132) Lines: 33 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org K.J. Koster wrote: > Well, I am afraid that I must have done something wrong then. I installed > the shujit port version 0.6.3 last night. I symlinked it into > /usr/local/jdk1.2.2/jre/lib/i386, but I still got the JIT not found error. I'm not sure about the reason of unsuccessful loading of the JIT compiler. If the reason is symbol resolution failure, the following snippet of code would help you. ===== class LoadLibraryTest { private void start(String[] argv) { if (argv.length >= 1) { System.loadLibrary(argv[0]); } } public static void main(String[] argv) { new LoadLibraryTest().start(argv); } } ===== Try: % java LoadLibraryTest shujit If loading of shuJIT succeed, you don't see any output. In case of resolution failures, you'll see UnsatisfiedLinkError and the function name which could not be resolved. Kazuyuki SHUDO Happy Hacking! Muraoka Lab., School of Sci. & Eng., Waseda Univ. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message