May 11, 2016

Fixed: SQL Developer with JDK (64 bit) Unable to launch the Java Virtual Machine

The problem

After downloading Oracle SQL Developer version 4.1.3 with JDK (64 bit) and unzipping it to C:\Program Files\ it won't start. The following error message is presented when running sqldeveloper.exe

Unable to launch the Java Virtual Machine
Located at path:
C:/Program Files/sqldeveloper/jdk/jre/bin/server/jvm.dll

My setup:

  • Windows 10
  • No Oracle client installed
  • No Java installed

There are suggestions out there saying that you should mess with SetJavaHome in the sqldeveloper.conf file. Others talk about properly setting java environment variables. But the reality is that SQL Developer does not require any other Oracle components to be installed in order to run. The changes might fix some problems for some people, but it's not relevant to my situation.

The solution

Copy the file msvcr100.dll from C:\Program Files\sqldeveloper\jdk\jre\bin\ to C:\Program Files\sqldeveloper\sqldeveloper\bin\

That's all I had to do to solve this ridiculous problem!

Oracle SQL Developer is a free integrated development environment that simplifies the development and management of Oracle Database in both traditional and Cloud deployments. SQL Developer offers complete end-to-end development of your PL/SQL applications, a worksheet for running queries and scripts, a DBA console for managing the database, a reports interface, a complete data modeling solution, and a migration platform for moving your 3rd party databases to Oracle. 

No comments:

Post a Comment