From owner-freebsd-java Wed Jul 12 18:36:25 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 0CE0437BE71 for ; Wed, 12 Jul 2000 18:36:21 -0700 (PDT) (envelope-from glewis@ares.trc.adelaide.edu.au) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id LAA39522; Thu, 13 Jul 2000 11:06:12 +0930 (CST) (envelope-from glewis) Date: Thu, 13 Jul 2000 11:06:12 +0930 From: Greg Lewis To: David Holland Cc: freebsd-java@FreeBSD.ORG Subject: Re: Question on JDK1.2.2 FAQ #5 {JBuilder and JPDA} Message-ID: <20000713110612.A38423@ares.trc.adelaide.edu.au> References: <396C0AC1.F0FD39CA@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <396C0AC1.F0FD39CA@xmission.com>; from dholland@xmission.com on Wed, Jul 12, 2000 at 12:05:53AM -0600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jul 12, 2000 at 12:05:53AM -0600, David Holland wrote: > In trying to get JPDA to work with JBuilder using the > native JDK1.2.2 (P9), I copied the jpda.jar and dt.jar files from the > linux_jdk1.2.2/lib directory into the > jdk1.2.2/lib directory. > > But when I tried to use it, i.e. > > java -Xdebug -Xnoagent -Djava.compiler=NONE > -Xrunjdwp:transport=dt_socket,address=9123,suspend=n > HelloWorld > > I get: > > Can't load "libjdwp.so", because Shared object "libjdwp.so" not found > Could not create the Java virtual machine. Ok, with a bit more research... With the official Solaris releases: jpda.jar, libjdwp.so, dt.jar and libdt_socket.so are all part of JDK 1.3, but are _not_ part of JDK 1.2.2. And, in particular, they are not part of the JDK 1.2.2 source code we currently have access to under the SCSL. Now, the Blackdown folk, who have access to the JDK 1.3 source code, have obviously included these libraries and jars into the Linux JDK they have released. I've just sucked down the JDK 1.3 Beta source which is available under the SCSL, and (after a _very_ brief look) it appears as though it may include the appropriate code for building the necessary thingies. We might be able to graft this code into the FreeBSD native JDK but I'll need to have a better look at this when I have time to be sure. -- Greg Lewis glewis@trc.adelaide.edu.au Computing Officer +61 8 8303 5083 Teletraffic Research Centre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message