Devendra Singh
Devendra Singh

Reputation: 167

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

I am using Weblogic 10gR3. I have webappliation built using netbeans and compiled on java 1.7. When deployed on the server I get the error.

Weblogic Deployment error

I searched the net and found probable cause to be version mismatch. When checked I found java 1.6 installed on weblogic.Weblogic version.

I tried changing it in \bea\wlserver_10.3\common\bin\commEnv but still not changed.

Upvotes: 3

Views: 13243

Answers (1)

Emmanuel Collin
Emmanuel Collin

Reputation: 2606

Update the ${DOMAIN_HOME}/bin/setDomain.sh to set the JVM that you need. You should concider recompile your web app with the good jdk.

Upvotes: 7

Related Questions