Delphi Clinic C++Builder Gate Training & Consultancy Delphi Notes Weblog Dr.Bob's Webshop
Hubert Klein Ikkink (aka Mr.Haki) - Communications Officer
 Mr.Haki's JBuilder Jar #17
See Also: JBuilder Papers

Using Borland's JIT
Performance is one of the problems of our JDK 1.1 applications we built with JBuilder 2. But JBuilder 2 contains a JIT compiler which should boost the performance. We can use this JIT compiler ourselves when we deploy our programs. Here are the steps:

  1. In the jbuilder\bin folder we can find javacomp.dll. This is the JIT compiler.
  2. Put this dll in the PATH environment variable of the machine the application will run on.
  3. Create a new environment variable JAVA_COMPILER:
      set JAVA_COMPILER=javacomp
    
    This variable points to the dll.
  4. Now we can execute java.exe to run our application and the JIT will be used.


This webpage © 1997-2009 by Bob Swart (aka Dr.Bob - www.drbob42.com). All Rights Reserved.