Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

And again: Unable to create an instance of the Java Virtual Machine

User_07TC6Jul 11 2022

Hi,
I try to upgrade to Oracle SQL Developer 22.2 from my 18.3 version. But when I download and unzip the x64 version with JRE included, I only get
Unable to create an instance of the Java Virtual Machine Located at path:
c:\Program Files (x86)\sqldeveloper\sdk\jre\bin\server\jvm.dll
Strange thing is, the file itself is there. It is sitting right there, path is correct, so it is not missing. Now I have googled alot and people from years-old-posts suggest to modify the product .conf. Sadly I don't have that one.
Then I found others stating I have to set AddVMOption -Xmx256M but I don't really have that either. Well, I have it, in the ide.conf but changing it from Xmx800M to 256 did not do the trick either. A bit googling and people talked about having set this option in the ide.conf, sqldeveloper.conf other jdk.conf. When I look into those I find modern entries like Add32VMOption and Add64VMOption instead and now I have no clue what to do. I tried setting all to 256, one after another but absolutely nothing changes.
When I unzip the old 18-version into the folder, it works out-of-the-box. Why can't the 22.3 version be correctly and ready-to-use coinfigured as well. I am no Java expert and not planning to be one. I'm a simple sysadmin with no Oracle experience and just need to set up a tool for my DB admin to use it.
Can anyone help me what I can do to get the 22.2 version working? I am downloading the sqldeveloper-22.2.0.173.2018.zip

Comments
Post Details
Added on Jul 11 2022
10 comments
4,768 views