更新时间:2023-09-13 23:25:46
-jrockit
选项仅用于jrockit JVM,我假设您正在使用标准JDK运行?
The -jrockit
option is only for use with the jrockit JVM, I assume you are running with a standard JDK?
您可能需要在startWebLogic
脚本的顶部设置JAVA_VENDOR=Sun
来避免它.否则,听起来好像您认为您的JAVA_VENDOR=Oracle
,这意味着当您的setDomainEnv脚本获取<weblogic home>/common/bin/commEnv
脚本时,它将自动添加到该-jrockit
.
You might need to set JAVA_VENDOR=Sun
at the top of your startWebLogic
script to avoid it. Otherwise it sounds like it thinks your JAVA_VENDOR=Oracle
, which means it will automatically tack on that -jrockit
when your setDomainEnv script sources the <weblogic home>/common/bin/commEnv
script.
另一种选择是直接修改<weblogic home>/common/bin/commEnv
,这样它就可以做您需要的任何事情.
The other option is to straight up modify <weblogic home>/common/bin/commEnv
so it does whatever you need.