Search code examples
weblogicjdeveloperjrockit

Jdeveloper - Unrecognized option: -jrockit


Every time I try to run a weblogic webcenter application on Jdev I get the following error and I cant find any reference on how to fix this anywhere on the web.

starting weblogic with Java version: Could not create the Java virtual machine. Unrecognized option: -jrockit


Solution

  • Try modifying the startWebLogic.cmd file (WIN7)

    c:\users\{user}\AppData\Roaming\JDeveloper\system{version}\DefaultDomain\bin\startWebLogic.cmd 
    

    to contain

    set JAVA_VM=-server
    set MEM_ARGS=-Xms512m -Xmx1024m -XX:MaxPermSize=512m