Switching JVM Versions with WebLogic
By Antony Reynolds-Oracle on Apr 19, 2011
Just a quick post to talk about a trick to make it easier to switch JVM versions when working with WebLogic and other tools. When running WebLogic on platforms other than Windows and Linux, or when using a 64-bit JVM it is necessary to install the JDK before installing WebLogic. I recommend that you put the JVM you are going to use in the Middleware home. For example if installing the Hot Spot JVM you may get a directory called <MW_HOME>/jdk1.6.0_24. To make it easy to switch JVMs I recommend that you create a symbolic link to the actual JDK (ln –s jdk1.6.0_24 jdk1.6). When installing WebLogic make sure that you point at the symbolic link. Then when you get an updated version of the JDK (say build 25) then you can just change the link to point to the later version.
Note this approach needs a little more work to behave properly with multiple types of JDK (say JRockit and Hot Spot) and I will cover this in a later post.