Jdb from JDK1.2 gets confused by CLASSPATH with white space:
C:\>set CLASSPATH=C:\X Y
C:\>f:\jdk1.1.8\win32\bin\jdb
Initializing jdb...
> quit
C:\>f:\jdk1.2\win32\bin\jdb
Initializing jdb...
[Internal debugger error: Failed to exec a child java interpreter with this comm
and line: f:\jdk1.2\win32\jre\bin\java -Xdebug -Djava.compiler=NONE -classpath
C:\X Y -Xbootclasspath/a:f:\jdk1.2\win32\lib\tools.jar sun.tools.agent.EmptyApp
]
Exception in thread "main" java.lang.InternalError
at sun.tools.debug.RemoteAgent.error(RemoteAgent.java:1409)
at sun.tools.debug.RemoteAgent.<init>(RemoteAgent.java:243)
at sun.tools.debug.RemoteDebugger.<init>(RemoteDebugger.java:63)
at sun.tools.ttydebug.TTY.<init>(Compiled Code)
at sun.tools.ttydebug.TTY.main(Compiled Code)
dean.long@Eng 1999-01-13
C:\>set CLASSPATH=C:\X Y
C:\>f:\jdk1.1.8\win32\bin\jdb
Initializing jdb...
> quit
C:\>f:\jdk1.2\win32\bin\jdb
Initializing jdb...
[Internal debugger error: Failed to exec a child java interpreter with this comm
and line: f:\jdk1.2\win32\jre\bin\java -Xdebug -Djava.compiler=NONE -classpath
C:\X Y -Xbootclasspath/a:f:\jdk1.2\win32\lib\tools.jar sun.tools.agent.EmptyApp
]
Exception in thread "main" java.lang.InternalError
at sun.tools.debug.RemoteAgent.error(RemoteAgent.java:1409)
at sun.tools.debug.RemoteAgent.<init>(RemoteAgent.java:243)
at sun.tools.debug.RemoteDebugger.<init>(RemoteDebugger.java:63)
at sun.tools.ttydebug.TTY.<init>(Compiled Code)
at sun.tools.ttydebug.TTY.main(Compiled Code)
dean.long@Eng 1999-01-13
- relates to
-
JDK-4185309 STD: JDB doesn't support file names with spaces
-
- Closed
-