简体   繁体   English

如何在weblogic 10.3(10gR3)中更改Java版本?

[英]How to change the java version in weblogic 10.3 (10gR3)?

I am using Weblogic 10gR3. 我正在使用Weblogic 10gR3。 I have webappliation built using netbeans and compiled on java 1.7. 我有使用netbeans构建并在java 1.7上编译的webappliation。 When deployed on the server I get the error. 当部署在服务器上时,我得到了错误。

Weblogic部署错误

I searched the net and found probable cause to be version mismatch. 我在网上搜索,发现可能的原因是版本不匹配。 When checked I found java 1.6 installed on weblogic. 检查后,我发现在weblogic上安装了Java 1.6。 Weblogic版本 .

I tried changing it in \\bea\\wlserver_10.3\\common\\bin\\commEnv but still not changed. 我尝试在\\ bea \\ wlserver_10.3 \\ common \\ bin \\ commEnv中进行更改,但仍未更改。

Update the ${DOMAIN_HOME}/bin/setDomain.sh to set the JVM that you need. 更新$ {DOMAIN_HOME} /bin/setDomain.sh以设置所需的JVM。 You should concider recompile your web app with the good jdk. 您应该考虑使用优质的jdk重新编译Web应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM