Friday, June 24, 2011

Unable to create an instance of the Java Virtual Machine

Get the following error at startup when trying to run Jdeveloper 11.1.2.0.0 on a Window 7 Home Premium PC:


Unable to create an instance of the Java Virtual Machine 
Located at path:
C:\Oracle\Middleware\jdk160_24\jre\bin\client\jvm.dll

Solution:

  • Locate file jdev.conf (e.g.: C:\Oracle\Middleware\jdeveloper\jdev\bin) and edit.
  • Locate line AddVMOption  -XX:MaxPermSize=256M
  • Add line AddVMOption -Xmx512M
  • Save and Start MaxPermSize again.

3 comments: