在Weblogic 运行过程中 在命令行状态下输入如下命令:
$java -showversion
如果出现类似以下内容,则在使用JRockit:
~~~
java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05)
BEA WebLogic JRockit(R) Virtual Machine (build
8.1-1.4.1_05-win32-CROSIS-20030317-1550, Native Threads, Generational
Concurrent Garbage Collector)
~~~
如果出现类似以下内容,则为Sun Java
~~~
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
~~~