SQL Developer version 4.2.0.17 is set up on a computer I'm using (I'm using Windows).
The folder for that version contains a jdk folder and the SQL developer runs fine.
I downloaded SQL Developer 17.2 and unzipped the file. When I went to run the .exe I was asked to confirm the location of the jdk on the computer.
At that time, I didn't realise that the jdk folder was already in the folder for SQL Dev 4.2.
There is also an 'OraHome_WF' folder on the c:\ drive, which contains a jdk folder, so I confirmed that was the location of the jdk folder when first launching SQL Dev 17.2.
Now when I launch SQL Dev 17.2 I get an error message:
Unable to launch the Java Virtual Machine Location at path: C:\OraHome_WF\jdk\jre\bin\msvcr100.dll
I looked in the 17.2 folder to see if there were any config or settings files that might have been updated after I put the wrong jdk path in, so I could point to the correct jdk folder, but I can't see anything.
I tried deleting the 17.2 files and unzipping the 17.2 folder again, but when I launched SQL Dev I got the same error without being asked where the jdk folder is located.
Is there any way I can work around this problem?
I already tried this workaround: SQL Developer error Unable to find Java Virtual Machine
%APPDATA%\SQL Developersubdirectory, then remove a subdirectory which name contains a version number of your SQL-Developer, likesystem 17.2.xxxxxx. This will erase all program's settings. And then run it again. - krokodilkosqldeveloper\binbut that hasn't fixed it. I tried the 1st option (I'm using Windows, sorry - edited the question to state that) - there are folders there calledSQLHistory, andsystem4.2.0.17.089.1709andtmpbut no foldfer for 17.2... - 4532066C:\Users\myuser\AppData\Roaming\sqldeveloper- and that contained a17.2.0folder - deleted that, and could then point to the correct location. So problem fixed. Thanks! - 4532066Windows: C:\Users\<user-name>\AppData\Roaming\SQL Developer\systemn.n.n.n.nfolder. Mayby your%APPDATA%environment variable points to another location. - krokodilko