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...

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • Installation error: cannot find the data source checking utility (dbcheck)

    BO XI 3.0:
    During the process of installing "Dashboard and Analytics Servers", we've got this error.
    Installation error: cannot find the data source checking utility (dbcheck)
    Have anyone encountered this issue? We can't move on after this error.
    Thanks,

    I've fixed the problem.
    Lianjun.
    Lianjun (guest) wrote:
    : I've tried to run the latest beta version of OMWB to migrate
    from
    : MS SQLSERVER7.0 to Oracle8i. At step 4:Source Database Details,
    : every time I put in the data source name (which is in the
    control
    : panel-ODBC data source Administrator), it gave an error message
    : that Data source name not found and no default driver
    : specified).Anybody has any ideas?
    : Thanks for the help!
    : Lianjun.
    null

  • 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.

  • Installation Error, Cannot find "CrossRef"

    I am trying to install Lync 2013 on a new server and I'm having an issue while preparing Forest, this is the error I am getting.
    > Prepare Forest
    Enable-CSAdForest -GroupDomain dc.emtecsu.com -Verbose -Confirm:$false -Report "C:\Users\......\AppData\Local\Temp\Enable-CSAdForest-[2014_06_18][10_43_04].html"
    Creating new log file "C:\Users\.......\AppData\Local\Temp\Enable-CSAdForest-9033ab00-1f99-4ea1-b23d-0ce8218c6c24.xml".
    Enable the Active Directory forest to host Lync Server 2013 deployments.
    Creating new log file "C:\Users\......\AppData\Local\Temp\Enable-CSAdForest-[2014_06_18][10_43_04].html".
     WARNING: Enable-CSAdForest failed.
     WARNING: Detailed results can be found at "C:\Users\.......\AppData\Local\Temp\Enable-CSAdForest-[2014_06_18][10_43_04].html".
    Command execution failed: Cannot find the object "CrossRef" in Active Directory.

    Have you looked at the note on Enable-CSAdForest?
    "If you receive the following error, “Cannot find the object ‘CrossRef’ in Active Directory” while running
    tasks to prepare a child domain of a single-forest environment with multiple domains, you may have to manually add the RTCComponentUniversalServices group from the parent domain to the Windows Authorization Access group in the child domain." - http://technet.microsoft.com/en-us/library/gg412764.aspx
    Also look at a similar thread: http://social.technet.microsoft.com/forums/lync/en-US/868714f4-26f6-4c19-86ff-cc69935b0153/cannot-find-the-object-crossref-in-active-directory
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • I86 - installation error cannot find misc/krtld

    Hi !
    While trying to install Solaris 8 freeware on an AMD K6 233 with 128
    Mo of RAM, a primary master hard drive with 1.4 Go capacity, an Atapi
    CD-Rom
    as primary slave and a 6 Go hard drive as secondary master with Linux
    installed, I had the following error message:
    - Boot on DCA Floppy with CD Soft n�1:
    boot: cannot find misc/krtld
    - ~with the install CD-Rom
    (...) no dump device configured
    rebooting ...
    Is there solutions for this problem ?

    [boot] - ~with the install CD-Rom
    (...) no dump device configured
    rebooting ...This one looks like a kernel panic. You can try to get more information
    about the cause of the panic by booting with "kadb" installed. Boot
    from the "Software 1 of 2" CD-Rom, and at the "1 interactive or 2
    custom jumpstart" type "b kadb -v" instead of 1 or 2.
    If the kernel panics when "kadb" is loaded you can read the complete
    stack trace and other low-level information about the panic. If you
    post the information the kernel provides for the panic here, maybe
    someone can give an educated guess about the possible cause for
    the panic.
    You should also provide a detailed list of hardware installed in your
    system (like additional NIC cards, e.g. recent 3com cards are know
    to crash the solaris kernel), and which solaris 8 update release
    you're trying to install.

  • JDK7 INSTALLATION FAILS WITH ERROR CANNOT FIND REQUIRED JAVA RUNTIME ENVIRONMENT

    Hi
    I am trying to install jdk7 on windows7 through command line with command java_ee_sdk-6u4-jdk7-windows-x64 -j "C:\Program Files\Java\jre7\bin". But it fails with error cannot find required java runtime environment in C:\Program Files\Java\jre7\bin. I have set the java_home and path environment variables to above path. Also I tried instaling through installer but it gave same error with null in path. Can anyone help?

    Hi
    I am trying to install jdk7 on windows7 through command line with command java_ee_sdk-6u4-jdk7-windows-x64 -j "C:\Program Files\Java\jre7\bin". But it fails with error cannot find required java runtime environment in C:\Program Files\Java\jre7\bin. I have set the java_home and path environment variables to above path. Also I tried instaling through installer but it gave same error with null in path. Can anyone help?

  • Configure: error: Cannot find php-config

    After security update 2008-002 for Leopard, the PHP module builder stops, because the PHP version running on the machine doesn't match the header files from the PHP-developer part. More info see: http://www.naquah.net/blog/dennis/2008/03/20/how-to-get-eaccelerator-working-aga in-after-installing-security-update-2008-0#comment-50
    After editing /usr/bin/php-config
    Change
    version="5.2.4" to version="5.2.5" and
    vernum="50204" to vernum="50205"
    and /usr/include/php/main/php_version.h
    Change
    #define PHPRELEASEVERSION 4 to #define PHPRELEASEVERSION 5
    #define PHP_VERSION "5.2.4" to #define PHP_VERSION "5.2.5" and
    #define PHPVERSIONID 50204 to #define PHPVERSIONID 50205
    the ./configure command stops with a:
    configure: error: Cannot find php-config. Please use --with-php-config=PATH
    even when explicitly specifying the php-config location, the ./configure --with-php-config=/usr/bin/php-config command still throws an identical error.
    The file is there, accessible and not empty:
    $ ls -l /usr/bin/php-config
    -r-xr-xr-x 1 root wheel 3031 22 mrt 21:44 /usr/bin/php-config
    $ head /usr/bin/php-config
    #! /bin/sh
    SED="/usr/bin/sed"
    prefix="/usr"
    exec_prefix="${prefix}"
    version="5.2.5"
    vernum="50205"
    include_dir="${prefix}/include/php"
    includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
    ldflags=" -L/usr/lib/mysql"
    Re installing Xcode 3.0 didn't solve the problem.
    What could be done to repair the (php) configure command, to allow me to build php modules again?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • Configure: error: Cannot find GLX header

    I install gtkglext from its source code and get an error after the 'configure' command.
    bash-3.00$ ./configure
    checking GL/glx.h usability... no
    checking GL/glx.h presence... no
    checking for GL/glx.h... no
    configure: error: Cannot find GLX header
    I guess the OpenGL files are not installed during Solaris 10 installation. Could someone tell me where can I get opengl files? Are they in the Solaris 10 installation disks? How to install opengl files?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • NW04s Installation Error -- Cannot proceed

    Hi
    I am installing Solution Manager 4.0 (NW04s) on Windows2003 x64 with Single Domain mode. Errors occur during the installation, can anyone suggest some hints?
    ERROR 2006-06-15 14:57:30
    FSL-00001  System call failed. Error 1398 (There is a time and/or date difference between the client and server.) in execution of system call 'LogonUser' with parameter (smpadm, MAPANA, *******, LOGON32_LOGON_INTERACTIVE,LOGON32_PROVIDER_DEFAULT,&hUserToken), line (838) in file (synxccuren.cpp).
    ERROR 2006-06-15 14:57:30
    MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2006-06-15 14:57:30
    FCO-00011  The step setUserEnvironment with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|4|0|setUserEnvironment was executed with status ERROR .

    Hi
    Ensure that you met the pre requiste
    1)Operating System: Windows 2000 (Service Pack 3); Windows XP Professional (Service Pack 1) or Windows Server 2003
    2)NTFS-File systems
    3)Internet Explorer 5.5 or higher or Firefox 1.0 or higher
    4)At least 1 GB RAM, 2 GB are recommended
    5)Intel Pentium III/1.1 GHz or higher (or compatible)
    6)14GB free hard disk space (8.6 GB for the installed software and 4.9 GB for the installer software)
    7)Sun Microsystems J2SE SDK version 1.4.2_08 or 1.4.2_09 (Sun JDK 1.5 not tested). You can download this from Sun Microsystems at http://java.sun.com/products/archive/j2se/1.4.2_09/index.html. Please note that version 1.4.2_10 may cause installation problems.
    8)If you have already installed SAP products on your computer, you must ensure that none of the systems are called "J2E".
    9)The file C:\WINNT\system32\drivers\etc\services (Windows 2000) or C:\Windows\system32\drivers\etc\services (Windows XP) must not include an entry for the ports 3601, 3201 and 50000 to 50030. A possible entry can be excluded by using the hash symbol (#).
    10)If no DHCP server is available on your network (which dynamically determines the IP address) or your computer is not connected to any network, you need to install the virtual interface adapter MS Loopback Adapter. This is described in detail within the contents of the download package.
    Cheers
    Jawahar Govindaraj

Maybe you are looking for

  • Sorting in ALV Report.

    Dear Experts, I mfacing a strange problem. I hv an internal table containing the required data in required sorted order. But when i call CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' function module, the sort order gets changed. I m not sorting internal tab

  • OIM 9.1.0.2 OOTB error-trying to see the task details and got an error

    Hi gurus, I am facing this issue for one specific group when I try to see one request: SPOC(group that works): INFO,23 May 2011 12:34:57,[XELLERATE.DATABASE],DB read: select req.req_number,req.req_createby,req.req_create,req.req_key, req.req_type,req

  • Export or view the chat transcript between operators on the Cisco agent console

    Hi All, Is there a way I can  export or view the chat transcript between operators on the Cisco agent console? I have UCCX7 which would be migrated to 8.5 Soon. Thank you, Hamed

  • How to Include VAT percentage rate in the Invoice Print Output

    Hi All, I have a question here. My client wants the VAT rate in percentage form to appear in the invoice print output. But, I have no idea where to pull out the vat percentage rate from or which table I should refer to. Appreaciate all of your inputs

  • TC remote access by both PC and MacBook Pro

    So I've finally figured out how to back up both my PC's and MAcBook to the TimeCapsule thankx to all of the information and direct help from everyone here! I still posses the problem of not being able to remotely access the TC from my PC or Macbook a