At 11:21 AM 8/2/00 -0400, you wrote:
>I am having trouble using JDEbug. I'll describe the problem first, then
>provide details about my system and setup.
>
>If I run the Java VM in hotspot mode, breakpoints are ignored, just as the
>JDEbug documentation suggests might happen.
>On the other hand, if I set JDE_Run_Classic_Mode to "on", I get the a
>message along these lines:
>
>
>----------------------------------------------------------------------------
>--------------------------------------
>*** Debugger Output for Process nextgen.SMatrixHole(1) ***
>
>Error: debugger unable to launch nextgen.SMatrixHole.
>  Reason: VM initialization failed for: C:/Program
>Files/JavaSoft/JRE/1.3/bin/javaw -classic -Xdebug -Xnoagent
>-Djava.compiler=NONE
>-Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y nextgen.SMatrixHole
>VM options: '-classic '
>Error: cannot set breakpoint at line SMatrixHole.java in file 70.
>  Reason:
>Error: unable to run nextgen.SMatrixHole..
>  Reason: (-1 error (Malformed command: jde.debugger.JDEException:
>Application 1 does not exist)).
>
>
>----------------------------------------------------------------------------
>--------------------------------------
>
>
>My system:
>Windows NT 4.0 workstation, service pack 5
>JDE 2.2.0
>NT Emacs 20.6.1
>Sun JDK 1.3
>


Hi David,

The JDK 1.3 version of JPDA by default uses the javaw stored in the JRE
C:/Program
Files/JavaSoft/JRE/1.3/bin/ to run your debuggee application.
Unfortunately, the JDK installer does not install the classic mode vm in
this directory. Hence, your problem (I believe). The solution is to copy
the JDK1.3/jre/bin/classic directory to the directory C:/Program
Files/JavaSoft/JRE/1.3/bin/. The bin directory should then look like

bin
  classic
  hotspot

- Paul

Reply via email to