May 2001
Intermediate to advanced
1088 pages
30h 13m
English
| Q1: | Why does my JDK 1.2 implementation complain when I try to use the -debug flag? |
| You probably didn't turn off the Just-In-Time (JIT) compiler. Most Java implementations can't run the debugger when the JIT is active. Not only must you disable the JIT, but you must usually disable it on the command-line before the -debug options. | |
| Q2: | Why does JDK 1.2 complain about not being able to find tools when I use the -debug flag? |
| You must include the -Xbootclasspath on the command line when you use the -debug flag. Make sure you include the lib\tools.jar and the jre\lib\rt.jar files (including the complete path name, such as c:\jdk1.2.2\lib\tools.jar). |
| Q1: | I started my Java Virtual Machine in debug ... |
Read now
Unlock full access