Just read a really cool explanation on Ted Neward's weblog about how to use the JRockit JVM. Just follow this:
1. Download JRockit Installer and run it
2. It will install a number of files, you only need 2 of them!
3. In the JRockit install folder (where you installed it) It is probably in the following configuration:
JRockit->7.0->1.4.0->jre->bin->jrockit
Whatever your config is, the ONLY folder you need is the "jrockit" one inside jre/bin. You can delete the rest if you want.
4. Copy that "jrockit" folder (it should have only two files in it: "jvm.dll" and "Xusage.txt") into your Sun JRE/JDK install's "bin" folder. So now
you should have:
<Sun_JRE_Install>/bin/jrockit
5. Find the jvm.cfg file (for intel computers it's in "lib/i386" and add the line:
-jrockit KNOWN
6. Find a
Java program you wrote (e.g. HelloWorld) and type:
java -jrockit HelloWorld
That's it!! Pretty cool, huh? All you needed was two files (only equalling about 1.8 megs in size) and one small file change.