This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Really Cool - Plug-and_Play JVM!" Watch "Really Cool - Plug-and_Play JVM!" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Really Cool - Plug-and_Play JVM!
 
Similar Threads
JRocket
Installation Query
i am getting error when i try to run eclips
RUN JAVA APPLICATION WITHOUT JRE
how can we make a swing application executable for windows?