From owner-freebsd-java Wed Dec 6 12:15:32 2000 From owner-freebsd-java@FreeBSD.ORG Wed Dec 6 12:15:28 2000 Return-Path: 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 B6C4237B401 for ; Wed, 6 Dec 2000 12:15:25 -0800 (PST) Received: (from glewis@localhost) by ares.trc.adelaide.edu.au (8.9.3/8.9.3) id GAA20709; Thu, 7 Dec 2000 06:45:19 +1030 (CST) (envelope-from glewis) From: Greg Lewis Message-Id: <200012062015.GAA20709@ares.trc.adelaide.edu.au> Subject: Re: JDPA In-Reply-To: <17F0EC17EF87D311BF65009027D3C39DAD42D1@ais.msu.edu> from "Murphy, Patrick" at "Dec 6, 2000 10:19:42 am" To: "Murphy, Patrick" Date: Thu, 7 Dec 2000 06:45:19 +1030 (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: glewis@ares.trc.adelaide.edu.au Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Murphy, Patrick wrote: > I was able to get the JBuilder debugging to work on FreeBSD 4.1 by following > the steps at > http://www.eyesbeyond.com/freebsddom/java/jpda.html and then going into the > JPDA build directories and tweaking the make process to get the missing > shared libraries to build. I did this a couple of months ago so the details > are fuzzy. I am going to upgrade to FreeBSD 4.2 this week and will try to > make another run at building the JDK. I can send the steps along after I do > this if anyone is interested. Cool, I was wondering if this was working with JBuilder since I had only done light testing on it. However, the patches there will leave you with a jdb that doesn't work. To get it working again you need to also apply the following patch to /src/freebsd/javavm/runtime/javai_md.c - Greg --- javai_md.c 2000/04/23 03:05:57 1.3 +++ javai_md.c 2000/11/07 21:01:50 1.4 @@ -120,8 +120,8 @@ return NULL; } sprintf(sysclasspath, - "%s/lib/rt.jar:%s/lib/i18n.jar:%s/classes", - home_path, home_path, home_path); + "%s/lib/rt.jar:%s/lib/i18n.jar:%s/../lib/jpda.jar:%s/classes", + home_path, home_path, home_path, home_path); sprops.sysclasspath = sysclasspath; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message