From owner-freebsd-java Wed Oct 11 0:22:23 2000 Delivered-To: freebsd-java@freebsd.org Received: from ares.trc.adelaide.edu.au (ares.trc.adelaide.edu.au [129.127.246.5]) by hub.freebsd.org (Postfix) with ESMTP id 48E7537B503 for ; Wed, 11 Oct 2000 00:22:20 -0700 (PDT) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id QAA99360; Wed, 11 Oct 2000 16:52:11 +0930 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200010110722.QAA99360@ares.trc.adelaide.edu.au> Subject: Re: native java on freebsd In-Reply-To: <39E41125.438EA5FD@home.se> from Henrik Nilsson at "Oct 11, 2000 09:05:09 am" To: Henrik Nilsson Date: Wed, 11 Oct 2000 16:52:11 +0930 (CST) Cc: freebsd-java@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Henrik Nilsson wrote: > I'd really like to know how to acces the full potential of jni in > FreeBSD. > I just can't seem to get it to work... > with linux-jdk1.2.2 you can't read the correct lib-file. (I suppose it > wants a linux shared library) It does indeed. You can make one for it if you install the linux_devtools port and use the version of gcc contained in there. Alternatively I guess you could build a linux cross-compiler from the gcc source code, but that sounds way too keen to me :). > with jdk1.1.8 it can't find it, and I haven't found any documentation on > where to put the location information about the lib-file. The environment variable LD_LIBRARY_PATH needs to contain the path where the shared library can be found. HTH! - Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message