JIT : Java Glossary

go to home page J words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
JIT
Just In Time compiler. Compiling to native code just before the program runs. The results might be cached, but typically no permanent *.exe file is created. Contrast that with a native mode compiler. You get better debugging stack traces with the JIT turned off, and typically you get fewer JVM bugs.

In java.exe sometimes you can turn off the jit like this:

java.exe -Djava.compiler=NONE HelloWorld
make sure the -D option comes first, or it will be taken as a parameter to HelloWorld.

With Symantec, you can turn the JIT feature on and off this way:

REM use JIT
SET JAVA_COMPCMD=
REM use Interpreter
SET JAVA_COMPCMD=DIS
Unfortunately, capturing these commands in a BAT file has no effect since environment changes are discarded as soon as the bat file finishes.

In Netscape, you can turn the JIT feature on and off this way:

@echo off
rem jiton:jitoff d:
cd"Program Files\Netscape\Communicator\Program\Java\bin"
if"%1"=="on"rename jit3240.off jit3240.dll>NUL
if"%1"=="off"rename jit3240.dll jit3240.off>NUL
if exist jit3240.dll echo jit now on
if exist jit3240.off echo jit now off
rem -30-

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] The information on this page is for non-military use only.
You are visitor number 15,970. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/jit.html J:\mindprod\jgloss\jit.html