Jdk-7u79-windows-x64.exe back to top

Yesterday, I downloaded SQL Developer 3 with SDK and was able to use it just fine. After shutting down my PC last night and booting it up again this morning, every time I try to run it, I get this message:

"Enter the full pathname for java.exe"

I browse to C:\Program Files\Java\jre6\java.exe where the EXE is located and I get this message:

"Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6\java.exe"

What could be the issue here when it was working just fine yesterday? I will add that my PC did freeze last night during shutdown, so I ended up having to power it off, but I don't know if that's relevant.

I reinstalled Java and it still gives the same message. I also downloaded SQL Developer without the SDK and get the same message. I will also add that I am not actually installing SQL Developer, just running the executable from the folder. I don't think you actually install it anyway.

Anyone know what could be causing this? I am on Windows 7 32-bit.

asked Jan 17, 2012 at 15:00

oscilatingcretinoscilatingcretin

5,13326 gold badges84 silver badges117 bronze badges

1

"jre6" in the folder name implies you have JRE installed there, and not the SDK. Point it to somewhere where you have java.exe of a JDK/SDK installation, instead of JRE, and from thereon it should work.

If you had to power off during shutdown, it might've not been able to save the SDK reference, thus asking it on the next startup.

answered Jan 17, 2012 at 15:13

1

If your jdk file gets stuck on asking for the jdk file on repeat in windows 7, or you are having problems with the jdk file, try running SQLDeveloper as administrator rather than just the regular startup.

answered May 21, 2012 at 3:50

2

Resolved. It didnt work for me but after spending lot of time , here is what what I did to fix it.

  1. Open the file

..\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf 

and add the following line to set jdk path:

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

If it don’t allow you to save the file, copy whole

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

0 folder to a different location where you have write access to modify this file.

  1. Run

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

1 [from the new place if you moved the folder out from oracle folders] as administrator and enter the jdk path that comes with your oracle installation:

C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk\bin

It should work then... hope it will help you save hours. - snehal

Sun

6,25210 gold badges35 silver badges55 bronze badges

answered Sep 17, 2014 at 21:15

1

answered Jan 21, 2013 at 18:27

I encountered the following message repeatedly when trying to start SQL Developer from my installation of Oracle Database 11g Enterprise:

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

2.

No matter how many times I browsed to the correct path, I kept being presented with the exact same dialog box. This was in Windows 7.

The solution was to right-click on the SQL Developer icon and select "Run as administrator". I then used this path:

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

3

Nifle

34.4k26 gold badges108 silver badges137 bronze badges

answered Jan 31, 2015 at 13:34

Try entering the full path to

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

4 while using SQL Developer. For example:

c:\app\shellperson\product\11.1.0\db_1\jdk\jre\bin\java.exe

Synetech

68.6k36 gold badges225 silver badges358 bronze badges

answered Nov 20, 2012 at 16:00

RUDRARUDRA

111 bronze badge

Try setting the path below. It worked for me.

C:\Program Files\Java\jdk1.7.0_79

To cross check, you can check the path specified to locate JVM in the configuration file:

..\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf 

Mureinik

4,00412 gold badges28 silver badges34 bronze badges

answered Jul 29, 2015 at 16:33

If you are in 64 bit environment, you need to install the latest java 6 SE for 32 bit and use that [oracle calls these versions i586 eg, Jdk-6u45-windows-i586.exe].

answered Jun 10, 2013 at 8:38

thedrsthedrs

3142 gold badges3 silver badges12 bronze badges

I found the file[sqldeveloper.conf] in this path

D:\app\admin\product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper\bin

and then I set the javahome like below, previously it was pointing to the jdk1.7

SetJavaHome C:\Program Files\Java\jdk1.6.0_06

answered Apr 19, 2015 at 6:42

2

When SQL developer asks for Java path, mention the path as including

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

4 also:

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

6

This worked for me.

bertieb

7,38436 gold badges42 silver badges54 bronze badges

answered Aug 11, 2015 at 8:48

1

there is some conflict between communicating between java and oracle so oracle is installing an specific java for it self .

try to insert this address :

[ORACLEHOME]\product\12.1.0\dbhome_1\jdk\jre\bin\java.exe

remember [ORACLEHOME] means where your oracle has installed

answered Mar 11, 2018 at 11:32

If you are running Windows 10 and need some old SQL Developer version [ Like 3.2], you may need to install the JDK jdk-7u79-windows-x64.exe or older [ not the latest ]. I had installed the latest version and got the error can't find .... After installing the old JDK version I could able to install old SQL developer version [ 3.2 ]

You can get old JDK from this link //www.oracle.com/java/technologies/oracle-java-archive-downloads.html

Hope this helps

answered Mar 2, 2020 at 20:44

Check your sqldeveloper.conf file. It contains:

SetJavaHome ../../jdk

This means when SQL Developer starts up it will look in the

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

7 folder for java.exe.

Once you've installed a version of JDK, copy the folder to

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

7 location relative to the sqldeveloper.conf file [which you can find in

SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk

9 folder].

How do I find my JDK path in windows?

Go to 'C:\Program Files [x86]\Java If there is not a folder called jdk with some numbers you need to install the jdk. Click the download JDK button and follow the prompts. You can also click in the address bar and copy the path from there.

How to install JDK in windows 64 bit?

Installing the JDK from the JDK .exe Installer.

Start the JDK 20 installer by double-clicking the installer's icon or file name in the download location..

Follow the instructions provided by the installer..

After the installation is complete, delete the downloaded file to recover disk space..

How to check if JDK is installed on windows command prompt?

type “javac” in your command prompt ,if starts showing a bunch of files then it is installed ,else error will be popped. First try it in your command prompt as “set path=C:\Program Files\Java\jdk[version]\bin” ,then type “javac” in prompt if it starts showing bunch of files ,then it is installed.

Where does JDK install on windows?

JDK is installed in /Program Files/Java/jdk- where is the feature release number. For example, JDK 11.0.1 is installed in /Program Files/Java/jdk-11 .

Chủ Đề