Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2000 06:45:19 +1030 (CST)
From:      Greg Lewis <glewis@trc.adelaide.edu.au>
To:        "Murphy, Patrick" <murphyp1@ais.msu.edu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDPA
Message-ID:  <200012062015.GAA20709@ares.trc.adelaide.edu.au>
In-Reply-To: <17F0EC17EF87D311BF65009027D3C39DAD42D1@ais.msu.edu> from "Murphy, Patrick" at "Dec 6, 2000 10:19:42 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012062015.GAA20709>