| Author |
Really Cool - Plug-and_Play JVM!
|
Robert Paris
Ranch Hand
Joined: Jul 28, 2002
Posts: 585
|
|
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.
|
 |
Garandi Garandi
Ranch Hand
Joined: Jan 07, 2003
Posts: 192
|
|
I could not find the link to download jrockit, and I don't want to download all of weblogic, can you post the link please? Thank you Garandi
|
 |
Robert Paris
Ranch Hand
Joined: Jul 28, 2002
Posts: 585
|
|
|
http://commerce.bea.com/showallversions.jsp?family=WLJR
|
 |
 |
|
|
subject: Really Cool - Plug-and_Play JVM!
|
|
|