This content has been marked as final. Show 13 replies
I have installed the Java SE Development Kit 7u13 (the Windows x64 version), but I'm still getting the same error message when I try to run SQL Developer. I saved the install program file to Program Files (x86) > jre > bin. But when I ran the install program, it did not ask me where to save the file(s), so I don't know where to find them.
I have the following Java files installed:
Control Panel > Programs and Features:
Java 7 Update 13 (7.0.130)
Java 7 Update 13 (64-bit)
Java SE Development Kit 7 Update (64-bit)
Java 6 Update 7 (18.104.22.168)
Control Panel > Java > Java tab > View button > User and System tabs:
Platform = 1.7
Product = 1.7.0_13
Location = http://java.sun.com/products/autodl/j2se
Path = C:\Program Files\Java\jre7\bin\javaw.exe
Runtime Parameters = (none)
Enabled = True
Do I need to add Java 6 to the User tab under Control Panel > Java > Java tab? If so, how do I find the Location and Path information?
Prior to SQL Developer 3.2.2 the standard recommendation was to use the latest update in the jdk 1.6 series, currently u39. With 3.2.2, however, development fixed some known issues involving jdk 1.7, so using 1.7 is less problematic even though 1.6 is still recommended.
In your case, given the listing you posted from your Control Panel -> Programs and Features, only
Java SE Development Kit 7 Update (64-bit)represents a JDK. The others are JRE's (Runtime Environments), which SQL Developer cannot use. On my laptop I have installed the following so I can run either 32-bit or 64-bit SQL Developer versions on either JDK 1.6 or 1.7, using the latest updates to date:
For more details, please see links to earlier forum posts in the following:
Java SE Development Kit 7 Update 13 Java SE Development Kit 7 Update 13 (64-bit) Java (TM) SE Development Kit 6 Update 39 Java (TM) SE Development Kit 6 Update 39 (64-bit)
Re: Cannot find a J2SE SDK installed at path...
SQL Developer Team
Great that you have it working, but you must have a typo in your last post.
If you are using a 64-bit OS / JDK / SQL Developer, then your latest JDK installation by default should have gone into:
C:\Program Files\Java\jdk1.6.0_41\The 32-bit JDK version by default goes into:
C:\Program Files (x86)\Java\jdk1.6.0_41\-Gary
Interesting, Gary....it was pointed to the Java file under Program Files (x86) > jdk 1.6.0_41 > bin, and seemed to work fine.
I changed the pointer to the java.exe file under Program Files > Java > jdk 1.6.0_41 > bin, and it works fine too!
The SQL Developer program is version 3.2.20.09.
Glad to know the difference between the two....since I'm running Windows 7, I assume that I should be using the java.exe file under the Program Files directory....is that correct? Or does it matter?
In your initial post, the stated location of your SQL Developer installation is
C:\Users\mamontgo\My Documents\sqldeveloper64-3.2.20.09.87-no-jre\sqldeveloperIf that is still the case, under the sqldeveloper64-3.2.20.09.87-no-jre directory you should find a file called
.\sqldeveloper\sqldeveloper\bin\sqldeveloper.confIt must contain a SetJavaHome line, something like this...
SetJavaHome C:\Program Files\Java\jdk1.6.0_41SetJavaHome is the only pointer that should count in terms of which JDK SQL Developer runs.