Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the solution of 'can't find java SE sdk installed in specified folder' in sqldeveloper?

I just installed oracle database. I want to work using sqldeveloper. I downloaded the latest version of it. After extracting it when I intend to run it, it shows this messages.please specify the path to java jdk home and 'can't find a java SE SDK installed at"c:\program files(*86)\java\jdk1.7.0_60\bin"'

I can't find any answer for this problem. I tried installing java again, there is no 'jdk' folder in my sqldeveloper folder(latest version). I can't understand what can I do?

like image 248
Abdullah Al Mubin Avatar asked Dec 02 '17 23:12

Abdullah Al Mubin


People also ask

Where is Java SE SDK?

The JDK software is installed on your computer, for example, at C:\Program Files\Java\jdk1. 6.0_02. You can move the JDK software to another location if desired.

Where is SQL Developer EXE located?

Start your screen reader. Start SQL Developer by running the file sqldeveloper.exe located in the folder <sqldev_home> \sqldeveloper\sqldev\bin .

Where is Jdk in SQL Developer?

To start SQL Developer, go to the sqldeveloper directory under the SQL Developer installation directory (for example, on a Windows system this might be C: \sqldeveloper), and do one of the following: On Linux systems, type: sh sqldeveloper.sh • On Windows systems, double-click sqldeveloper.exe. Files\Java\jdk1.


2 Answers

There could be two things here:

  1. Don't point SQL Developer to the bin folder - browse to the parent folder
  2. You don't actually have an SDK installed there.

If it's the second point, the following might help. (and if it's not, it will probably sound quite patronising, sorry about that).

Java comes in two flavours.

Unless you're a developer, you normally just need the runtime (Java Runtime Environment, or JRE), which is what you normally end up with if you go to download java.

But if you want to write programs in Java or, it appears, use SQL developer, you need the version of Java that lets you write java programs, and compile them to something that will run on the Java runtime. That's the Java Development Kit, or JDK.

If you google "download java", you'll end up here: https://java.com/en/download/ You get the "runtime" or JRE.

But if you google "download jdk", you end up here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Which is more likely to be what you want.

After you've downloaded and installed that, point SQL Developer at the folder that that one has installed into. You can check you've got a JDK because there'll be a program called javac in the bin folder.

Alternatively, some of the SQL Developer downloads include the JDK as well, so if you make sure you download one of those, it should solve the issue. (This is probably what @Mate is suggesting in that comment).

like image 164
GregHNZ Avatar answered Sep 23 '22 22:09

GregHNZ


You can find JDK in this folder when you install oracle.
choose c:\oracle\x32orx64\client\jdk directory.

It will solve the problem with SQL Developer because I had to move it to another directory since it asks for admin rights every time non-admin run it.

#sqldeveloper
#admin
like image 24
Ali Avatar answered Sep 19 '22 22:09

Ali