Resolving Problems with the Embedded WebLogic in JDeveloper on Mac
By Shay Shmeltzer-Oracle on Jun 20, 2014
Just a quick entry about something that I ran into in the past with JDeveloper 126.96.36.199, and that some of you who are using Mac might run into.
When you try and run your web application and the embedded WebLogic tries to start you might run into an error like:
Unrecognized option: -jrockit Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
This is most likely due to the fact that JDeveloper is trying to use the wrong JVM to run your WebLogic.
To solve this - go into the system188.8.131.52.184.108.40.206/DefaultDomain/bin directory and locate the setDefaultDomain.sh file.
Edit this file and add the following lines:
By doing this you'll instruct WebLogic to start with a regular JVM and not the JRockit variant which isn't on your mac.