First of all, let me state definitely and emphatically that I am using
RedHat 6.2, Blackdown 1.2.2 RC4, and JDE 2.1.8, and that JDEbug most
certainly *DOES* work, for servlets, regular apps, and anything else I've
tried.
On Thu, 6 Jul 2000, Paul Kinnucan wrote:
> At 02:48 PM 7/6/00 +0200, Dr. Georg Strobl wrote:
> >Paul Kinnucan wrote:
> >
> >> According to your report, your LD_LIBRARY_PATH is set as follows:
> >>
> >> LD_LIBRARY_PATH=/applications/DIR/jdk/jre/lib/i386:$LD_LIBRARY_PATH
> >> ^^^
> >> As I said in my previous posting on this topic, AFAIK, the JDPA debug
> >> library, libjdwp.so, is not in the jre subdirectory. It is, I believe, one
> >> level up.
[snip]
> >The Blackdown-port has its JDPA debug library in the jre subdirectory;
> >in my case libjdwp.so and libdt_socket.so are physically located in
> >/applications/DIR/jdk/jre/lib/i386 and I have added symbolic links
This is true; all the necessary shared libraries are in jdk/jre/lib/i386
(or whatever your arch is; I've never heard of anyone trying this on sparc
or alpha). Why this is the case I have no idea. I agree with Paul that
this isn't something that should be in everyday users' binaries of the VM.
The Sun "official" port of Java for Linux is based off an OLD Blackdown
release of 1.2.1 hacked to 1.2.2 sorta compliance. It doesn't include a
JIT, which is why it crawls. Last I checked, it does include JPDA support,
but I wouldn't recommend using the Sun version. I never got it to work
with JPDA, though there's no technical reason I'm aware of that says it
won't. YMMV.
> >Is there any other possible explanation for the reported situation?
>
> It's possible the other user was referring to the Sun version of JDK 1.2.2
> for Linux. I have had reports that JPDA does not work on the Blackdown
> port.
Again, the Blackdown port DOES work. However, I have run into this same
problem occasionally, even though my variables are set. (BTW, I never made
any symlinks; I just pointed my LD_LIBRARY_PATH to jdk/jre/lib/i386 and
all was well.) I've been trying to reproduce it so I can isolate it but no
success yet. A problem report will speedily ensue once I do. :) In the
meantime, I would be extremely glad to hear of further problems like this
on the list, since it's a thorn in my side as well.
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Benjamin A. Speakmon
Associate Software Engineer, Web Products Division
TeleCommunication Systems, Inc.