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:
- In the jbuilder\bin folder we can find javacomp.dll.
This is the JIT compiler.
- Put this dll in the PATH environment variable of the machine the application will run on.
- Create a new environment variable JAVA_COMPILER:
set JAVA_COMPILER=javacomp
This variable points to the dll.
- Now we can execute java.exe to run our application and the JIT will be used.