On OSX, find this folder /Users/{USERNAME}/.jdeveloper/system{VERSION}/DefaultDomain/bin
Edit the setDomainEnv.sh file and find SUN_JAVA_HOME and make sure that the value has the same meaning as your JAVA_HOME , i.e. /Library/Java/JavaVirtualMachines/jdk${JDK_VERSION}.jdk/Contents/Home , by default it is set to the empty string "" .
Edit the startWebLogic.sh file and add the following before calling setDomainEnv.sh .
JAVA_VENDOR=Sun
You can check it by running sh ./startWebLogic.sh , if it works with the -jrockit error, then everything will be fine :)
I also tested the Java JDK 1.7 and it seemed to work.
cheeming
source share