The JIT can be disabled in a number of different ways.
About this task
Turning off the JIT is a temporary measure that can help isolate
problems when debugging Java™ applications.
Procedure
- Use the -D option on the JVM command line
to set the java.compiler property to NONE or
the empty string.
Type the following command at a shell or
command prompt:
java -Djava.compiler=NONE <class>
- Use the -Xint option on the JVM command line.
Type the following command at a shell or command prompt:
java
-Xint
<class>