From owner-freebsd-java Wed Jul 12 7: 6:37 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id E773C37BBB4 for ; Wed, 12 Jul 2000 07:06:29 -0700 (PDT) (envelope-from dholland@xmission.com) Received: from [204.228.142.205] (helo=xmission.com) by mail.xmission.com with esmtp (Exim 3.03 #3) id 13CN9g-00078r-00; Wed, 12 Jul 2000 08:06:28 -0600 Message-ID: <396C7CC4.379AFE39@xmission.com> Date: Wed, 12 Jul 2000 08:12:20 -0600 From: David Holland X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-20000708-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Rob Furphy Cc: freebsd-java@FreeBSD.ORG Subject: Re: Question on JDK1.2.2 FAQ #5 {JBuilder and JPDA} References: <396C0AC1.F0FD39CA@xmission.com> <396C73CE.C77B8A3D@ox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rob Furphy wrote: > > 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. > > This *fix* is for making the "JBuilder App" work correctly. The errors > it corrects are java classes which jbuilder needs. This *fix* does not > fix what you appear to have. > > Without the jpda.jar file in the correct place JBuilder should still > "come up" > but the menus (and other things) don't function properly. > > I just re-checked this on my machine and JBuilder works fine. > FreeBSD RELEASE 3.5 vanilla install with linux emul. > > > 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. > > > > I think your 'problem' may be the specific invocation of "libjdwp.so". > Searching my java release directories I find this library in the Linux > port but not in my "Patchset 9 Native" JDK. What is the runjdwp for? > > > The -Xrunjdwp argument sets up a connection that I can attach to from inside of jbuilder to debug the application either locally or on a different machine (using JPDA). On NT this works great for debuging Servlets and EJBs inside of BEA's Application Server. When you run JBuilder on 3.5 with linux emulation, and you type a class: i.e. System. Does the popup class browser show correctly for you? For me with both the linux-jdk and native, I do get an undecorated window, but it appears under JBuilder instead of on top of it - and it seems to have a redraw problem in that I don't notice content painting until I close it with escape. This seems to be independant of window manager, i.e. twm, windowmaker, and sawmill. When you pull up the file menu, does it seem to have a redraw problem? (mine does with linux-jdk and native with out tya jit). I don't yet understand how to build using openmotif instead of lesstif - since the ALT_MOTIF_DIR variable in the buildscript points to the same directory for both - uninstall lesstif? David Holland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message