Cannot find J2SE SDK

I am trying to use SQL developer (Oracle 11g)
When I select the java.exe file it gives me error 'cannt find J2SE SDK installed at path (path of java.exe'

You're targeting a JRE install, when you need a JDK. Should look something like this:
C:\Program Files\Java\jdk1.6.0_21\binI'm assuming that your Oracle install has a JDK buried in it somewhere. If not you can:
a) download JDK here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
b) download a copy of SQL Developer which is bundled with it's own copy of JDK: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html
I would recommend #2, as the latest version of SQL Developer is probably more up to date than what came with the database.

Similar Messages

  • Oracle 11gR1 on Windows Xp Error Cannot find J2SE SDK installed at path

    When I type in path for java.exe in SQL Dev. , I get error 'Cannot find J2SE SDK installed at path: C:\Program Files\Java\jre6.' when I entered the path C:\Program Files\Java\jre6\bin\java. What is the reason for this error? How can I correct it? Database installation said it was successful

    SQL Developer needs the Java JDK not the JRE to operate successfully. Your path looks like a path to the JRE. There is a windows download that comes complete with a Java Developer kit.
    regards
    Niall

  • Cannot find Servlet SDK

    i try to build my first servlet file. before i install the file into JWS, i compile the program, but it gave me messages like: "javax.servlet.http does not exist", "javax.servlet does not exist". i installed JavaWebServer properly, but cannot find jsdk class in the lib/jws.jar. does any one know where is the problem?? Thanks A Lot!!

    you need to add servlet.jar to your classpath.

  • Cannot find java card sdk 2.2.1 on oracle

    Hi,
    i have a java card support 2.2.1, but the problem is that I cannot find the sdk 2.2.1 on oracle release. It only provides download of 2.2.2 and 2.1.2(not linux). Does any one know why they don't provide sdk 2.2.1 and where to find it? thanks!
    best regards
    Edited by: 934624 on Jul 5, 2012 12:42 AM

    JCDK 2.2_01 for Windows: how to start java card development?

  • Installation error:  Cannot find a J2SE SDK installed at path C:\Program Fi

    I am installing latest version of SQL Developer, Release 1.2. I have Sun Java 2 Standard Edition Version 1.5.0 (build 1.5.0_10-b03). When I browse and select the java.exe found it comes up with error: Cannot find a J2SE SDK installed at patch
    C:\Program Files\Java\jre1.5.0_10
    I am installing the version I downloaded for Windows systems with JDK1.5.
    I have tried on two different machines.
    Any ideas?

    This is going to seem loooong, but comprehensive.
    I'd initially always suggest using the bundled
    package, since that's supposed to be a tested and
    proven combination.You know what, I'm gonna be mighty surprised if you're implying that Oracle hasn't 'tested and proven' the releases at http://www.oracle.com./technology/software/products/sql/index.html other than the first 77 MB download labeled Oracle SQL Developer for Windows... :)
    After having problems with a graphics card for
    example, installing the latest JDK might be
    indicated.Huh?!? Not a clue what you're talkin' 'bout! :S
    It's also easy for users who don't know which Java
    version to download, or even where to find it! You
    guys have proven that: although it's stated you need
    .First of all, it says right there on the download page (http://www.oracle.com./technology/software/products/sql/index.html) that:
    "JDK 1.5 (JDK 5.0) is required. This is the minimum JDK version required"
    And we've "proven that [..] although it's stated you need the JDK, [we]'ve tried running with the JRE" and have NOT been able to run the application. It just presents the user a dialog box to locate the 'SDK' manually and exits gracefully if you try to dismiss it. So, conclusively proven, the JDK (or as SQL Developer puts it, Java SDK) is required- QED.
    And given users might have several versions running
    on the same machine (I have half a dozen), sqldev
    could easily pick up a wrong version.And every JRE installation (atleast all of Sun's) make sure they update the default (via PATH and other required system variables) JRE point to the latest one installed. So if you have anything 1.5+ you're good to go; if not, you've got an incompatile JRE. Doesn't sound that hard to me!
    As for being bulky, even without the bundled JDK, it
    still is.Ya missed the point. Developers are making Java applications bulkier by including the JRE/JDK with their distributions. A SQL Developer release sans JDK is about 46 MB; with JDK that climbs to 77 MB (sizes quoted from download page linked above).
    Imagine what happens when you have, besides SQL Developer (JDK 1.5 included), some-cool-java-app that also includes the JRE/JDK it was built on; and then another-java-app that also includes a JRE/JDK... I bet JDeveloper also comes with a JDK bundled in. So, now you have FOUR copies of JRE/JDK (aside from the "have half a dozen" that probably installed themselves via Java Update Checker)!
    Here's the big picture, the savings in disk space would only be the beginning of your benefits. Here's a few others:
    - Class Data Sharing (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html) introduced in Java SE 5.0 provides for storing definitions of commonly used classes in a representation closer to machine code, even closer than bytecode, this reducing load and startup time. Plus all VM's launced using that particular distribution get to share the cache- Performace+ !!
    Running each app offa' it's own VM just causes multiple caches to be loaded. You just multiplied your losses! :(
    - Sun is currently working on a way to have applications simply inject into a running JVM. That way, there is no load and startup time for the JVM, just the time to load you app classes. Using different distros would completely defeat this!
    (The reason why this feature isn't out yet is because they're still trying to make it possible to specify hitherto VM configurations like security and logging as application configurations. Then there's also the issue of setting up class loading boundaries between applications.
    You say you don't have to bring over the VB runtime
    for each app? I remember in the 90's doing it all the
    time. Of course, being MS, now that's not necessary
    anymore, since it's "magical" Windows. I don't have
    any machine from Sun, but for sure they've got Java
    bundled with it, right?I don't believe you had to do that since VB 5; and that's because MS realized that they messed up on this very point upto then! Sun worked the simple solution to that into their deployment strategy- install only ONE runtime and run all apps off that. As for you're half-a-dozen, I think you can safely uninstall the five older versions; because, even today, people are running apps developed using JDK1.1 on Java SE 6.0!
    Again, I find the most logical difference between JRE
    and JDK being the debugger. As you say it yourself:
    JRE for end-users, who don't need to do any
    debugging.
    Now, sqldev is not just a table browser, but also for
    debugging PL/SQL. 1 + 1 = 2.I think it's a little naive to differentiate between the JRE and JDK on just the debugger! Aside from the obvious inclusion of a compiler, the JDK has several other tools for monitoring/managing the heap, threads and logging on the fly. There's also the Doclet API and Sun's javadoc implementation, dev interfaces for instrumenting the VM, native interfaces, ...
    And I reiterate, we're talkin' PL/SQL developers here. Why would I want to give a PL/SQL developer a Java Development Kit?!? ;|
    Nevertheless, as said in the other thread, if the
    team discloses how to circumvent the SDK check at
    startup, you can go ahead and use the JRE. In any
    case, you'd have to agree that won't work as
    out-of-the-box solution...You're right, it won't work like a standard Windows OOTB app. But, it WILL work as a Java OOTB that only mandates that there be a JRE available; just like the scores of Java apps out there- from tiny little Pong clones to large IDE's like NetBeans.
    BTW, don't even think about quoting Websphere/Rational/Eclipse as counter-arguments. They are the biggest offenders as far as this issue goes. And jikes is an abomination, a curse Sun must carry as a result to opening the VM Spec. But, I digress...

  • When SDDM x64 says "Cannot find a J2SE SDK installed at ..."  what is it actually looking for?

    First of all,please forgive me if this question has been answered before, but search facilities in this new forum are even more rubbish than the old one, which is an achievement I wouldn't have thought possible.
    Anyhoo.
    I have downloaded the 64-bit version of Data Modeller, which comes without the JRE.
    I have installed JDK1.3.0.21.  I have subsequently also downloaded and installed JRE 1.7u21.  However when I run datamodellerx64.exe for the first time it hurls with this message:  "Cannot find a J2SE SDK installed at C:\Program Files\Java\jdk1.7.0_21\bin".     It also doesn't like  C:\Program Files\Java\jre7\bin  (under the JDK install) or .C:\Program Files (x86)\Java\jre7\bin (the JRE install)
    So what path does it actually want?
    I suppose I could download and install the 32-bit version with the inbuilt JRE but that would be a pretty sorry workaround.
    Cheers, APC
    Message was edited by: APC - just realised I had typed "with the JRE" instead of "without", which is actually the entire source of the issue.  Doh!

    The first time you start up Data Modeler, it should prompt for the Java home.  You should select the java.exe file within the jre\bin folder of a Java JDK.
    Thanks!  This was the bit which was confusing me.  What I needed was C:\Program Files\Java\jdk1.7.0_21\jre\bin\java.exe
    Of course, then I get a message telling me that versions above 1.6 are not certified, but I'm not installing a monstrous rootkit on my new laptop simply to run SDDM, so I guess I'll just rub along without the certification.   It seems to start up just fine.
    Cheers, APC

  • Problem installing SQLdeveloper. Cannot find a J2SE SDK error

    I am trying to install SQL developer in my windows 7 64 bit machine. It is asking for the java path when clickin the sqldeveloper.exe. I am giving the path of java as C:\Program Files (x86)\Java\jre6\bin where i have java application file available. but i am getting cannot find a j2se SDK installed in the above path error. Please help

    Hello,
    please ask this in the appropriate forum: {forum:id=260}
    It seems to be a common problem
    https://forums.oracle.com/forums/search.jspa?objID=f260&q=win+64bit
    Regards
    Marcus
    Edited by: Marwim on 12.10.2011 10:59
    added search link

  • Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6

    Hi,
    I am trying to install the latest version of SQL Developer 3.0 on my brand new Windows7(64-bit) computer. I already installed the Java SDK6 (Update26). Unfortunatelly I am forcing some problems.
    When I start the sqldeveloper.exe for installing - at the beginning when I browse and select the java.exe an error comes up:
    Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6
    Why isn't it working?
    Can you help me? Any ideas?
    Thanks a lot!

    That's because you are trying to run SQLDeveloper with a JRE not a JDK.
    Since you already installed a JDK you should have a folder labeled
    jdk1.6.0_26in your C:\Program Files\Java directory.
    If you cant find the proper JDK in your system the 64 bit version for windows can be found here:
    http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-windows-x64.exe

  • Cannot find a J2SE SDK installed at path...

    I posted this in the SQL-Deveolper forum, but perhaps it is better posted here, since it is a Java issue.
    I found a thread for this same problem from 2007, but did not find an answer for it.
    I'm installing sql-developer on a Windows7 machine 64bit. When I go to run the exe, I get the popup:
    "Cannot find a J2SE SDK installed at path: C:\Program Files\Java\jre7."I've downloaded and installed a couple of jdk's to fix this:
    jdk-6u37-windows-x64.exe
    jdk-7u9-windows-x64.exe
    These did not work.
    Can anyone tell me what I need to download to get this to work and where I can find it?
    Thanks,

    I realized we have another wiindows machine that runs sql-developer just fine. I copied the jdk-6u25-windows-x64.exe from that machine and installed on the newer one. The install complained that a new version of java was already installed. But, the older version works where the newer one did not - does not.
    So I'm good. But it would be nice to know why the new versions do not include all the foo that seems to make sql-developer work.

  • [RESOLVED] Cannot find a J2SE SDK installed at path: C:\java16

    I have SQL Developer 3.0.04.34 in C:\apps\sqldeveloper\ and the 32-bit 1.6 JDK in C:\java16\. SQL Developer was working properly until this morning after I updated my JRE (C:\Program Files\Java\jre6\) from 1.5 to 1.6 and JDK (C:\java16\) from 1.6.something to 1.6.26. Now SQL Dev prompts me again for the path to java.exe, but when I specify C:\java16\bin\java.exe, it gives me the error shown in the thread title. The existing sqldeveloper.conf shows "SetJavaHome C:\java16". I found other threads that mention this error, but the problem is typically pointing to the JRE instead of JDK (C:\java16\ is the JDK in my case) or 32-bit vs. 64-bit (this is 32-bit JDK in XP x86). What else might cause the error? I'd rather not reinstall the SQL Developer package that includes the JDK since I already have the JDK elsewhere and it was working before.
    EDIT: Never mind. Something must have gone wrong when I was updating the JRE and JDK. I reinstalled the JDK, and now SQL Developer starts.

    When i start sqldeveloper.exe (there no exe with a 64 in the name) there ist a dialog that wants to know the path to the JRE.
    I tried to chose the directory i placed the Java 7 JDK.
    Tried the bin folder in that.
    Tried the jre folder and the bin folder in jre.
    Everytime i do this ther is the message "cannot find java se sdk installation".
    Maybe i am doing it wrong.
    What i did:
    Downloaded jdk-7u45-windows-x64.exe from oracle.com
    Downloaded sqldeveloper-4.0.0.12.84-no-jre.zip from oracle.com
    Unzipped sqldeveloper-4.0.0.12.84-no-jre.zip to directory
    Opened jdk-7u45-windows-x64.exe with 7zip, there opened tools.zip, unzipped tools.zip to a directory
    Started sqldeveloper.exe from software directory and tried to find the JRE... diddn't work
    Maybe sqldeveloper.exe ist looking for 32 bit Java?
    Update:
    Downloaded jdk-7u45-windows-i586.exe from oracle.com
    Opened jdk-7u45-windows-i586.exe, there opened tools.zip, unzipped tools.zip to a directory
    Started sqldeveloper.exe from software directory and tried to find the JRE... diddn't work
    Doesn't look like its working this way.
    I would realy be very happy to have the new SQL Developer packaged with JAVA again - thats the sollution i am looking for.
    Nachricht geändert durch user2905395 - added update

  • DNG SDK build project cannot find the xml sdk

    On win7/x64.  Installed dng sdk and all dependencies per the readme files.  xml sdk built OK with vc10 express, as 64 bit static and dll.
    But the vc solution for dng_validate has incorrect names for the xml sdk build projects, so it cannot find those components.  Specifically it looks for "..\..\..\xmp_sdk\build\vc\XMPCore.vcxproj".  the actual paths in the xmp sdk are different and longer, like "..\..\..\xmp_sdk\build\vc10\dynamic\windows_x64".  Moreover there is no XMPCore.vcxproj there.
    I suppose the real problem may be that the dng sdk project is trying to build it as .net managed code, while the xml sdk was built as open code.  So I guess what I am looking for is a way to build the dng sdk open.

    I would confirm your post, but I have not found a solution. I wish someone at Adobe would look into this.

  • Cannot find a J2SE ADK instlled at path

    Hi I have installed oracle 11g release 2 (32 bit) on Windows 2007.
    As soon as I try to open SQL developer, it ask me for the java path. I have installed Java1.6.0_16 on my machine. So I give E:\javaInstalled\Java\jdk1.6.0_16\bin\java as java path. But even though it is giving me following error.
    Cannot find a J2SE ADK instlled at path
    E:\javaInstalled\Java\jdk1.6.0_16\bin\java.
    Could you please help me resolving this?
    Regards

    This is a bit surprising as the SQLDeveloper which comes with the database install includes the JDK.
    Is the java installation 32 bit or 64 bit? The bittage of the the JDK must match the bittage of SQL Developer.
    Try editing <sqldev>\sqldevloper\bin\sqldeveloper.conf and adding
    SetJavaHome E:\javaInstalled\Java\jdk1.6.0_16replacing any existing SetJavaHome there.

  • I cannot finish installation of J2SE SDK, help!!!

    I downloaded J2SE SDK v1.4.2.05, and installed on Windows 2000 Professional with SP4.
    But the installation always waits endlessly on status:
    Finishing installation, please wait. This may take several minutes.
    It never success after my many times retries.
    I donnot know why. It's the first time I meet such a problem.
    If I terminate the installation forcely, the next J2ME installation won't find the j2se and report error.
    Do you have the same experiences?
    Please help me to resolve the boring prolem.
    Thanks.

    Did you wait for "several minutes"? This can take up to 5 minutes and longer! I also noticed this since the first 1.4 SDKs when i installed with the Windows installer. I also thought that it crashed but it continued after many minutes (5-10 minutes ...). I have no idea why this takes so long on a GHz server computer, but just give it a try.

  • Cannot find javac.exe in j2se 1.5.0 jdk

    hi
    i have been installing and reinstalling JDK 5.0, yes it is jdk not jre...
    and i cannot find javac.exe
    does anyone has any solution?
    thanks in advance.

    Oh, and btw, you should uninstall everything (J2EE, J2RE/jre, Forte/S1S, and Webstart) - Then install J2SE, followed by J2EE, then S1S.
    Don't install J2RE as a separate install - the J2SE install will also install it and Webstart.

  • Unable to add data connection. Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version 11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.

    I installed MS SQL Server 2014 Express and I'm using VS 2013 Professional.  I create a database in SQL Mgt Studio then I open up VS and using VB I create a form and add a data grid.  When I test connection it is fine but when I click ok it gives
    me the above message.  Sql Server is listening to port 1433 with IPALL disabled.  I installed management tools and another program.  So I uninstalled and then installed SQLExpressADV 2014 reset everything as mentioned and I get the same results. 
    I cannot develop any applications and am getting frustrated enough to maybe start looking around for a better DB solution that works.  I've noticed a lot of people getting this same error and I think Microsoft should implement a fix for this.  Does
    anyone have some ideas on how to fix this?  Since it will not list the files it cannot find I do not know what is broken.

    Hello,
    Please perform the steps described in the following article.
    http://sqlbeyond.blogspot.com/2012/08/vs-2012-error-could-not-load-file-or.html
    But download the SQL Server 2014 version of the software mentioned in the article.
    http://www.microsoft.com/en-us/download/details.aspx?id=42295
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for

  • Help for query tuning

    hello all my one of query is returning result in 1-2 mins only for 1 lakh record but i am not sure if it showed me complete rows or not because when I an trying to get count of result ..its taking lot of time .when I am using this query on plsql code

  • How large of a hard drive can i put in my Macbook Pro (early 2011)

    how large of a hard drive can i put in my Macbook Pro (early 2011) and where can i get one?

  • CVI7 initial partial order is created with status SY but it is not distrib.

    hi, In CVI7 initial partial order is created with status SY but it is not distributed to recepient list attached with documnet which required to be sent, Please any one can let me know the process flow for this,

  • Needs a solution for loading Crystal Report

    Hi..... I have already desiged & loaded crystal reports through SAP B1 Main Menu. But I need help (Code in C#.Net) for loading a crystal report template(already created) for a System form (eg; A/R Invoice) immediately after the form load by a menu cl

  • Javacard maven

    Hi! I am wondering in which maven repository or artifact can I find the javacard.framework.* ? Thx, topicfun