• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Really Cool - Plug-and_Play JVM!

 
Ranch Hand
Posts: 585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 585
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://commerce.bea.com/showallversions.jsp?family=WLJR
 
reply
    Bookmark Topic Watch Topic
  • New Topic