Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6568
  • Last Modified:

What Java download should I install for SQL Developer

On 64-bit Windows 7 Pro, I have downloaded and installed:
sqldeveloper64-3.2.20.09.87-no-jre.zip

I also downloaded and ran jdk-7u10-windows-i586.exe

But when I try to run SQL Developer it complains about the JDK version, asks me to find java.exe, then complains it can't start jvm.dll.

I have searched in the Oracle forums, and there are multiple conflicting solutions posted, which may or may not be out-of-date!

On the Oracle SQL Developer download page, it states: "You can connect to and use any JDK 1.6.0_11 or above."  I have no idea whether the jdk file I downloaded is "above" that or not!

So can anyone tell me exactly which Java file(s) I should download to get SQL Developer working?

Thanks.
0
MatthewNicoll
Asked:
MatthewNicoll
  • 4
  • 3
2 Solutions
 
Javier MoralesOracle DBACommented:
Hi,

You should get 1.6 java version here
http://java.com/es/download/manual_v6.jsp

This java version is the included in the "complete-with-java" editions of SQLDeveloper, so it has to work.

kind regards,
Javier
0
 
MatthewNicollAuthor Commented:
After much trial and error, I have discovered that the answer to my own question is:
jdk-6u38-windows-x64.exe

It installed into folder C:\Program Files\Java\jdk1.6.0_38

SQLdeveloper still gave me the error message:
  Unable to launch the Java Virtual Machine
  Located at path:
  C:\Program Files (x86)\Java\jdk1.7.0_10\jre\bin\client\jvm.dll

So I renamed the jdk1.7.0_10 folder to HIDE_jdk1.7.0_10 and tried again.
This time SQLdeveloper prompted me for the java.exe file, so I gave it
  C:\Program Files\Java\jdk1.6.0_38\bin\java.exe
and now SQLdeveloper launches.

To summarize, the important points which I was not clear on are:
  - x64 means the same thing as "64 bit"
  - for 64 bit SQL Developer, get 64 bit Java
  - get JDK (developer kit) NOT JRE (runtime environment)
  - if you also have jdk1.7... installed, uninstall or hide it before starting SQLdeveloper.
    (After you have given SQLdeveloper the jdk1.6.0_38\bin\java.exe file, it remembers
    that location, and you can unhide jdk1.7)

Finally, Java version numbers 1.x  are also referred to as simply x !
(E.g. version 1.6 seems to be the same as version 6.)
0
 
MatthewNicollAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for MatthewNicoll's comment #a38765258

for the following reason:

...because it worked, and Javier's answer, while appreciated, was not specific enough to make up for my original ignorance.
0
Simple Misconfiguration =Network Vulnerability

In this technical webinar, AlgoSec will present several examples of common misconfigurations; including a basic device change, business application connectivity changes, and data center migrations. Learn best practices to protect your business from attack.

 
Javier MoralesOracle DBACommented:
I will object the request.

The current version of Java for download is 1.7, and that's not compatible with SQLDeveloper (but should be) and that was causing the issue. The error message suggested to use a Java 1.6, that's considered an old version and I searched for the proper link to download the right JRE.

So, maybe I was brief in my answer, but I mainly already said to download 1.6 java versions, provided the right link of where to download it (vendor).

My answer did answer the question about "What Java download should I install for SQL Developer", and the author described how did he applied my solution, downloading the Java version I recommend from the link. Just doing that and pointing to the new installed java.exe file from JRE1.6 installation made SQL Developer works.

Solving the  troubleshooting of not uninstall Java 1.7 before and deal with two JRE's running on the same machine or to make OS to work mainly with Java 1.6 is out of question's scope.

For that reason I would request a Moderator review.
Many thanks in advance,
Javier
0
 
MatthewNicollAuthor Commented:
Moderator, Javier: Please close the question as you see fit.  I don't care who gets the credit!
0
 
Javier MoralesOracle DBACommented:
It's ok!
I'm glad if I could help in the solution.
0
 
Javier MoralesOracle DBACommented:
It's ok!
I'm glad if I could help in the solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Increase Security & Decrease Risk with NSPM Tools

Analyst firm, Enterprise Management Associates (EMA) reveals significant benefits to enterprises when using Network Security Policy Management (NSPM) solutions, while organizations without, experienced issues including non standard security policies and failed cloud migrations

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now