Re: JDB not working on Red Hat 9 Linux

From: Douglas Clinton (see_my_sig_at_devnull.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 10:15:27 -0500

On Sat, 29 Nov 2003 19:01:10 +0000, J.Neuhoff wrote:

> There is neither "/usr/bin/java" nor "/usr/bin/javac" on my machine. In
> fact, to make sure I called the correct ones, I just tried this:
>
> $ /usr/java/j2sdk1.4.2_02/bin/java helloworld
> hello world
> $ /usr/java/j2sdk1.4.2_02/bin/jdb helloworld
> Initializing jdb ...
>> run
> run helloworld <===== JDB still hangs here
>
>
> I have the normal java tools in /usr/java/j2sdk1.4.2_02/bin :
>
>
> $ ls /usr/java/j2sdk1.4.2_02/bin/java -l
> -rwxr-xr-x 1 root bin 24596 Sep 17 04:28
> /usr/java/j2sdk1.4.2_02/bin/java
>
> $ ls /usr/java/j2sdk1.4.2_02/bin/jdb -l
> -rwxr-xr-x 1 root bin 25760 Sep 17 04:45
> /usr/java/j2sdk1.4.2_02/bin/jdb
>
> $ ls /usr/java/j2sdk1.4.2_02/bin/javac -l
> -rwxr-xr-x 1 root bin 25764 Sep 17 04:29
> /usr/java/j2sdk1.4.2_02/bin/javac
>
>
> There is now no CLASSPATH environment variable, and my PATH is
> PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
> I have Debian Linux on another partition, and mounted to the Red Hat 9
> partition and then used exactly the same J2SE SDK 1.4.2_02, and JDB worked
> fine from there. This makes me think that there is something in Red Hat
> preventing the JDB to successfully launch and connect to a VM.
>
>
> J.Neuhoff

Works fine on my RedHat9 box.
Here is my $JAVA_HOME: /usr/local/j2sdk1.4.1_05/bin
Here is my $PATH:

--
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dbl/bin:/usr/local/j2sdk1.4.1_05/bin
Good Luck
GNU/Linux is God
get used to it
declinton@sympatico.ca
Linux User # 276385