This content has been marked as final. Show 13 replies
You need a JDK, not a JRE1 person found this helpful
If you run the 32 bit with java included version, you can run out of the box - you'll just be using a 32 bit version of the application.
If you want true 64 bit, you'll need to download the 64bit JDK and point to that when prompted.
Where do I need to go to download the 64bit JDK? And where should I save it?
The java downloads page, some instructions here1 person found this helpful
You can install it anywhere you want. I have mine just under program files\java
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 believe it defaults to
C:\Program Files\Java\jdk1.7.0_05\bin -- where the jdk1.7.... is dependent on your version.
Check your file explorer to see where it was written to.
SQL Developer 3.2.2 doesn't run on Java 7 - it needs Java 6. :-P See the Release Notes.
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 (188.8.131.52)
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?
Hi,1 person found this helpful
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
That worked, Gary! Thanks!
I downloaded Java(TM) SE Development Kit 6 Update 41 (64-bit) (184.108.40.2060), and pointed my shortcut to the java.exe file under the Program File (x86) folder > Java folder > jre 1.6.0_07 folder. SQL Developer worked fine after that.
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.
Zakir Mir discovered the problem! The "Filename for connection startup script" field under Tools > Preferences > Database was pointing to my java.exe file instead of "c:\sqldeveloper\login.sql". Once that was corrected, I have been able to use SQL Developer normally.
Thanks for your help!