Solved

What Java download should I install for SQL Developer

Posted on 2013-01-04
10
5,580 Views
Last Modified: 2016-08-28
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
Comment
Question by:MatthewNicoll
  • 4
  • 3
10 Comments
 
LVL 6

Assisted Solution

by:Javier Morales
Javier Morales earned 500 total points
ID: 38750104
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
 

Accepted Solution

by:
MatthewNicoll earned 0 total points
ID: 38765258
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
 

Author Comment

by:MatthewNicoll
ID: 38766136
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
 
LVL 6

Expert Comment

by:Javier Morales
ID: 38766137
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:MatthewNicoll
ID: 38767857
Moderator, Javier: Please close the question as you see fit.  I don't care who gets the credit!
0
 
LVL 6

Expert Comment

by:Javier Morales
ID: 38769573
It's ok!
I'm glad if I could help in the solution.
0
 
LVL 6

Expert Comment

by:Javier Morales
ID: 38769591
It's ok!
I'm glad if I could help in the solution.
0
 

Expert Comment

by:Shohin Tagayev
ID: 41773692
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I'd like to talk about something that is near and dear to my heart: build systems. Without them, building software is all about compiling locally, with software versions everywhere. It can be a mess. Today we are going to discuss building a small di…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now