This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Really Cool - Plug-and_Play JVM! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Really Cool - Plug-and_Play JVM!" Watch "Really Cool - Plug-and_Play JVM!" New topic

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:
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:
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
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I agree. Here's the link:
subject: Really Cool - Plug-and_Play JVM!
It's not a secret anymore!