Re: JDB not working on Red Hat 9 Linux

From: J.Neuhoff (NOSPAM_at_webcom.com)
Date: 11/29/03

  • Next message: osmoma: "Re: Old-Linux on an odd-machine..."
    Date: Sat, 29 Nov 2003 19:01:10 +0000
    
    

    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


  • Next message: osmoma: "Re: Old-Linux on an odd-machine..."