[Resolved] Unable to create an instance of the Java Virtual Machine error

You may receive the following error while running the Oracle SQL Developer Tool

Oracle SQL Developer Error 

To Resolve this error please follow the below steps ;

1- Open the ide.conf file located under <Oracle SQL Developer>jdev\bin\

2- Edit :

AddVMOption -Xmx1024M
AddVMOption -Xmx256M or 512 MB change into 512 instead of 1024

 

For details description and solution steps , please follow the following thread at Community Discussion Forums

11 Comments

  • Hi Hossam

    Thanks for your Solution, but i would like to tell you that it did not work.

    The problem with Internet Explorer 7

    cause Latest version of SqlDeveloper already have Xmx512M

    So Uninstall the Explorer then Restart and Install

    Thanks

  • Thanks Sami for this tip , i think it's a version problem I'm using this version 1.1.2.25.79 , are you speaking about another one ?

  • Thank for your solution.It help me a lot

  • thanks a lot
    it works

  • Hello,

    I had the same problem after upgrading to IE8. I set the Xmx to 256M instead of 512M, now it works.

    Thanks for the tip.

  • I have the same problem,but with the JDeveloper IDE, I can't find the path as you specified in Oracle SQL Developer, how should I do?

  • Locate line "AddVMOption -XX:MaxPermSize=256M".

    Now add another line just below this line:

    AddVMOption -Xmx256M

    edit file jdef.conf

    It work!

  • so, thanks


    # re: [Resolved] Unable to create an instance of the Java Virtual Machine error
    Thursday, December 17, 2009 3:23 AM by Tchezan
    In order to fix this type of error, go to installation_directoy\Middleware\JDeveloper\jdev\bin folder

    and edit file jdev.conf.

    Locate line "AddVMOption -XX:MaxPermSize=256M".

    Now add another line just below this line:

    AddVMOption -Xmx256M

    I found this solution at : javainnovations.blogspot.com/.../jdeveloper11g-startup-error.html

    It work for me.

  • The solution from Tchezan worked on new install of JDeveloper 10g 10.1.3 running on XP, though the initial "AddVMOption..." read

    "AddVMOption -XX:MaxPermSize=160M"

    and I commented out the initial setting

    "AddVMOption -Xmx512M"

    Now it opens. Thanks.

    (BTW: how lame is this that a fresh install of such a *professional* piece of software on a blank OS requires a config edit sourced from a user blog...???)

  • Ho risolto abbassando il valore come da consiglio.
    Il file ide.conf però risiede nella cartella ide\bin

  • I used the Oracle SQL Developer and has the same problem. Then I changed the ide.conf file located under &lt;Oracle SQL eveloper&gt;ide\bin\.

    follow the below steps:

    1. open the file ide.conf located under &lt;Oracle SQL eveloper&gt;ide\bin\

    2. located line &quot;AddVMOption -XX:MaxPermSize=640M&quot;.

    3. changed to &quot;AddVMOption -XX:MaxPermSize=256M&quot;.

    4. done.

    and the Oracle SQL Developer works.

    thanks Hossam.

Comments have been disabled for this content.