It's all about Weblogic..!!

June 3, 2010

How to change the JDK for the server to use JRockit instead of Sun JDK

Filed under: Core — streethawkz @ 4:52 pm

How to change the JDK for the server to use JRockit instead of Sun JDK :
The JDK is picked up according to the JAVA_VENDOR setting in the file. If you
want to change the JDK, please do the following.
1. Add the following link as first line in your setDomainEnv.cmd file.
2. Make sure BEA_JAVA_HOME is set to your Jrockit location. If not set BEA_JAVA_HOME to point to the Jrockit installation on your machine (in setDomainEnv file).
3. Start your server and make sure it is using JRockit. While starting the server, stdout will
print which java server is used to start the server JVM. For eg.
starting weblogic with Java version:
java version “1.5.0_12”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
BEA JRockit(R) (build R27.4.0-90_CR358515-94243-1.5.0_12-20080118-1154-windows-ia32, compiled mode)

Thats it..!! 🙂



  1. Thank you

    Comment by Dinakar — November 3, 2011 @ 3:15 pm

  2. set JAVA_VENDOR=BEA isn’t correct anymore.
    set JAVA_VENDOR=Oracle is correct now.
    Thanks anyway!

    Comment by FL — August 7, 2012 @ 2:57 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: