SQLDeveloper keeps asking for java.exe

Using 64 bit SQLDeveloper 2.1 and the 64 bit version of Sun Java jdk - Version 1.6.0_18 the sqldeveloper.exe keeps asking for java.exe at startup. The JDK was installed first.
I pointed the dialog at C:\Program Files\Java\jdk1.6.0_18\bin\java.exe and sqldeveloper.exe starts up OK.
Next time I also have to also point it java.exe - and next time etc.
The only way I could fix this was to edit C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
Old: SetJavaHome ../../jdk
New: SetJavaHome ../../../Java/jdk1.6.0_18
Using Wordpad and using Run as Administrator - Notepad doesn't handle the embedded line feeds correctly and the file can only be saved when 'Run as Administrator'.
I would have expected the SetJavaHome to be updated after pointing the way to the JDK.
The old value would be OK if the JDK was installed with (within) sqldeveloper except it isn't for the 64 bit version.
Kind regards
Simon
Edited by: Simon Miller on Feb 19, 2010 12:06 PM

I just ran into this issue myself after upgrading to SQL Developer 3.2. I never had the issue with 3.1, so I was kind of surprised. Right clicking the desktop shortcut, choosing Run as administrator, and giving the correct location fixed the issue.
Certainly the dialog where you set your java version could be expanded with a bit of help.
Two things could be added:
- SQL Developer is currently certified with JDK 6 and we recommend using JDK 6 instead of JDK 7.
- On Windows you may have to run SQL Developer as an administrator to persist this setting. You will only have to run SQL Developer as an administrator once. This has to do with Windows access controls.
Trivial to address and now there are many less questions on the forums and happier users.
Rich

Similar Messages

  • Since upgrading to Mountain Lion LibreOffice keeps asking for Java and crashing.

    Java is needed only for Base which I don't use, so I disable Java in LibreOffice preferences, but it keeps asking if I want to enable it. In addition the preferences aren't  being remembered so sometimes LibreOffice crashes when I start to do anything and it has to recover documents. Its all a big nuisance. I have NeoOffice which seems OK, but I'd like to have the option of LibreOffice which I have used for some time. Any thoughts?

    Did you install the last Java update 006 _37?

  • SQL Developer asks for java.exe with the version that has java built in.

    I have a user with the following platform:
    Windows XP2
    SQL Developer Version 1.5.4
    The version they are trying to get running is the one that has the JDK built in. However, when they try and startup SQL Developer it asks for the location of java.exe.
    However, when I run the same exact version on my workstation, I do not receive the prompt for a java.exe.
    I checked the documentation, and I couldn't find anything related to this particular issue, however I may have missed it.
    Can anyone provide me with any guidance please? Thanks.

    Resolved. There was a difference of permissions on the user's machine.

  • Safari keeps asking for Java 8 runtime environment even after multiple instals

    In spite of instaling Java 8 Runtime environment 3 times & restarting safari after verification of Java I keep getting a popup telling me I need the installation to view web content .
    I am getting rather bored of it I shall try shutting down the computer to see if this cures the problem.
    Has any one else experienced this ?

    Most likely, you have either the Facebook video calling plugin or the "NexDef" plugin for watching baseball streams. Both depend on the Java runtime distributed by Apple. If you no longer need the plugin, remove it. Otherwise, install Java.

  • Infinite Campus grade keeper asks for Java plug in

    I am trying to get my new mac pro to work with Infinite Campus.  I am using the new Mountain Lion version. Can anyone help?

    You must be new to java as well.
    What do you think will execute your signed applet?
    The browser MUST have a plug-in to execute the applet.
    Your alternative is Java Web Start, which bypasses the browser plug-in and launches the JRE/JDK on the client. It also requires signed code to escape sandboxing restrictions.

  • Hi i wrote a java program for scanning a system for java.exe 's

    hi ,
    i wrote a program which scans the system for java.exe 's and then it captures them in a linked list and then i
    iterate through it for "\\Java\\jdk1.5.0_08\\bin\\java.exe and my aim is to return true in case the linked list contains the string "\\Java\\jdk1.5.0_08\\bin\\java.exe" and stop scanning the system.
    If the linked list does not contain "Java\\jdk1.5.0_08\\bin\\java.exe" it should return false.
    But my problem is the program is continuing to scan the system even if the linked list has "\\Java\\jdk1.5.0_08\\bin\\java.exe"
    Any sort of help is appreciated.
    The code is as follows:
    package com.installanywhere.exper;
    import com.zerog.ia.api.pub.CustomCodeRule;
    import com.installanywhere.exper.SearchTool;
    * @author
    public class eFileTool extends CustomCodeRule {
         /* (non-Javadoc)
         * @see com.zerog.ia.api.pub.CustomCodeRule#evaluateRule()
         @Override
         public boolean evaluateRule() {
              // TODO Auto-generated method stub
              SearchTool searchtool=new SearchTool();
              boolean valueTocheckfor=false;
              valueTocheckfor=searchtool.find();
              String someothervalue=Boolean.toString(valueTocheckfor);
              if(someothervalue.equalsIgnoreCase("true")){
                   return true;
                   //System.exit()
              else if(someothervalue.equalsIgnoreCase("false")){
                   try {
                        Thread.sleep(5000);
                   } catch (InterruptedException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
              System.out.println(valueTocheckfor+"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
              return valueTocheckfor;
    The code of search tool is
    package com.installanywhere.exper;
    import java.io.*;
    import java.util.*;
    public class SearchTool
         * @param args
    static     boolean valuesToReturn=false;
    static     boolean anothervalueToRefer=false;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SearchTool           t = new SearchTool();
              System.out.println("xxxxxxxxxxxxxxxxxxxx");
              boolean someArgument=t.find();
              System.out.println(someArgument+"iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"+"");
                   public boolean find()
                        System.out.println("2222222222222222222");
                   boolean someThing=searchcomp("java.exe");
                   System.out.println(someThing+"inside the othere one");
                   return someThing;
              public boolean searchcomp(String file)
                   System.out.println("3333333333333333333333");
                   File[] drives=File.listRoots();
                   boolean valueIdentified=false;
                   for (int ctr=0;ctr<(drives.length-1);ctr++)
                        valueIdentified=search(drives[ctr],file);
                        System.out.println("4444444444444444444");
                   System.out.println(valueIdentified+"something i need to accomplish");
                   return valueIdentified;
                   public boolean search(File dir,String file)
                   File[] directories=dir.listFiles();
              System.out.println("55555555555555555555555");
                   if (directories == null)
                        System.out.println("666666666666666666666666");
                   return false;
                   for(int ctr=0;ctr<directories.length;ctr++)
                        if(directories[ctr].isDirectory())
                             System.out.println("77777777777777777777777777");
                             valuesToReturn=search(directories[ctr],file);
                             System.out.println(valuesToReturn+"india is great");
                        else
                             if(directories[ctr].getName().equals(file))
                                  String path = directories[ctr].getAbsolutePath().toString();
                                  System.out.println(path);
                                  List someList=new LinkedList();
                                  anothervalueToRefer=allPaths(path);     
                                  System.out.println(anothervalueToRefer+"god damn it");
                                       //System.out.println(anothervalueToRefer+"let me seeeeeeeeeeeeeeeeeee");                                        
                                  return anothervalueToRefer;
                   return valuesToReturn;
                   public boolean allPaths(String allPath)
                        List l=new LinkedList();
                        String somepath=allPath;
                        l.add(somepath);
                        //return l;
    /*if(l.contains("C:\\Program Files\\Java\\jdk1.5.0_08\\bin\\java.exe")){
                             System.out.println("yepeeeeeeeeeeeeee");
                             //System.exit(0);
    else{
         System.out.println(" the face");
                        ListIterator li = l.listIterator();
                        System.out.println("inside the method of all paths");
                        if(li.hasNext())
                             if(li.next().toString().contains("\\Java\\jdk1.5.0_08\\bin\\java.exe"))
                             System.err.println(somepath+"this is the path i wanted to resolve correctly");                         
                             return true;
                             else{
                                  System.out.println("trueeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee");
                                       return false;
                        else {
                                  return false;
         }

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • I cant install the new firefox 6 on my laptop because it keeps asking for the administrator password during the installation and i dont know what is it for this laptop

    i cant install the new firefox 6 on my laptop because it keeps asking for the administrator password during the installation and i dont know what is it for this laptop

    I read a way on another forum to fix this problem. Right click on the setup.exe and select "Run as administrator" this should solve your problem.

  • I lost my original disk for photoshop 7... I need to update.. it won't let me.. and keeps asking for the disk.. even though the program is on my pc... How can i get my update?

    I have photoshop 7 on my pc but have lost my original disk.... I went to update it and  the update is not seeing the file on my pc... and it keeps asking for my disk.. but i can't find it...
    How can i update it...

    Ah, you had Photoshop 7.0 working, and now it's not.  I see that as a separate issue to updating it.  I'm not sure why it would ask you to update it.
    Do you know whether you have 7.0 or 7.0.1 at this point?  You might be able to do a Properties function on Photoshp.exe and see that info.
    You could make an attempt to reset Photoshop's preferences to defaults.  Press and hold Control - Shift - Alt simultaneously immediately upon cold-starting Photoshop. If you get the keys down quickly enough - and you have to be really quick - it will prompt you to confirm deletion of your current preferences, which will lead to the establishment of a fresh default set.  If it does not prompt you, you haven't been quick enough to get the keys down.
    Only other thing that comes to mind is to use Windows System Restore to restore back to a restore point where Photoshop was working, or restore from a backup (you do make backups I hope).
    If that fails, and you need to do a fresh install but no longer have the original disk and serial number I'm afraid you may be out of luck.  There's no place I know of from which to download a fresh full copy of Photoshop 7.0.
    -Noel

  • HT4623 MY i phone 5 wont let me download apps etc it just keeps asking for my apple id password?

    Juat got my i phone 5 today and have opened an apple accout but it wont let me download apps etc just keeps asking for a password over and over again???

    Try This...
    Close All Open Apps... Sign Out of your Account...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • I tried to buy an app and itunes keeps asking for a security code.  What is a security code?  I do not have one.  I have a password.

    I tried to buy an app and itunes keeps asking for a security code.  What is a security code?  I only have a password! And ID

    Are you using a credit card?
    http://store.apple.com/au/help/payments#creditus
    Security codes
    The credit card security code is a unique three or four digit number printed on the front (American Express) or back (Visa/MasterCard) of your card.

  • Urgent help required - linked subreport keeps asking for parameter value

    Greetings,
    I have developed a report in the Crystal Reports bundled with Visual Studio 2005. The data is obtained from a stored procedure. One of the fields in the result set is named "Id".
    I have embedded a subreport in the details row of the main report. The subreport also gets its information from a stored procedure. This stored procedure has one parameter named "OpportunityId". This field is linked to the field named "Id" above. the subreport has been set to supress blank subreports.
    In the development environment and running the executable of the application on the development machine the report works perfectly. The subreport displays as it should and all is well.
    When I deploy the report onto user machines where they have the crystal runtime installed, the report keeps asking for a parameter value for the subreport.
    I cannot get this to stop happening.
    This report is urgently required. PLEASE could someone help me out here.
    I am at my wits end.
    I have attached a zipe file containing the following:
    - the two stored procedure
    - the rpt file
    - a sample report
    - a screen showing the report having just been generated
    Thanks in advance,
    Robert Lancaster

    <p>Hi Robert,</p><p>I see your report template and stored procedures. All seems to be ok. <br /></p><p>The most important is to assign the report parameters for all linked subreports (only one in your case).</p><p> </p><p>Try this (in C#, in VB.NET the code are very similary): </p><p>ReportDocument report = new ReportDocument(@"TopFortyReport.rpt");</p><p>AssignParameters(report, paramCollection);</p><p>// and now assign parameters to all linked subreports </p><p>foreach( CrystalDecisions.CrystalReports.Engine.Section section in report.ReportDefinition.Sections)</p><p>{</p><p>    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)<br />    {</p><p>        if (reportObject.Kind == ReportObjectKind.SubreportObject) </p><p>        {</p><p>            SubreportObject subReport = (SubreportObject)reportObject;</p><p>            ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName);                                               AssignParameters(subDocument, paramsCollection);</p><p>        }</p><p>} </p><p> </p><p>void AssignParameters(ReportDocument report, object[] paramsCollection)</p><p>{</p><p>    int nParams = paramsCollection.Length;</p><p>    for (int iParamIndex = 0; iParamIndex < nParams; iParamIndex++)</p><p>    {</p><p>        if (report.DataDefinition.ParameterFields[iParamIndex].IsLinked())</p><p>            continue;</p><p>        report.SetParameterValue(iParamIndex, paramsCollection[iParamIndex]);</p><p>    }</p><p>}</p><p> </p><p> </p>

  • ICloud Restore stuck - keeps asking for old Apple ID

    Hello,
    I've just gotten a iPhone 4S that I want to restore from an iCloud backup (I've had a 3GS previously). Unfortunately I'm running into problems as the restore process just doesn't finish. Some settings are restored just fine (contacts, messages, browser history, ...) while others are causing problems. In particular the photos & apps are not being downloaded. Apps are recognized but just sit on my screen "waiting".
    I suspect that the cause for all this is that the last backup is from March 2012 (my 3GS died then) and in the meantime I've changed my Apple ID. During the restore it keeps asking for my old Apple ID, which is not longer active & I cannot log into.
    Now I'm stuck since the phone decides to set the iCloud account to the old one and this cannot be changed as it tells me that I cannot delete the iCloud account during a restore is in progress...
    Any help or suggestions are greatly appreciated! Unforunately I don't have an iTunes backup and I really don't want to lose my data (especially the photos).
    Cheers,
    Florian

    The solution to fix this mess was to temporarily change my AppleID name back to the one that was active when the iCloud backup was being made.

  • I bought a £15 itunes card to download some music on to my iphone but it wont take any money off it and keeps asking for my card details,

    This is the first time i have brought an itunes voucher to use on my iphone, i have been able to redeem it and it shows up on my account but it wont take any money off it and it just keeps asking for my apple id all over agin and for my card details....... slowly loosing the will to live and all the help websites just use all these terms i dont understand, Any help will be much appreciated!!! Thanks

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    Contact the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account security Team.

  • Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split i have a new laptop and now it keeps asking for the old ID or it'll erase my apps bought on theold account.

    Hi, I need help and advice. Basically me and my ex partner both had iphones and synced it with the same computer under the same ID. We split up and now im trying to get all my apps and info onto my new laptop with a new account but it keeps asking me for the old apple ID which she is still using and she changed the password. i tried backing it up but still nohing. When i try to back up purchased items being apps etc its keeps asking for the old one. help

    See Recover your iTunes library from your iPod or iOS device. But you'll still need the password.
    Once you have the computer authorized to use the account she could change the password again to stop you buying apps on her card (assuming it's not on yours!). It would lock you out of upgrading them too but they should work unless she uses the deathorize all feature.
    It depends on how amicable the split is...
    tt2

Maybe you are looking for

  • Help with Apple ID's on different devices.

    My iMac has one Apple ID for iCloud and iStore and my iPhond and iPad have a different Apple ID.  My iCloud is not working and I think I need to change my Apple ID on the iPad and iPhone but I can't figure out how to do this?

  • Entries in Blogs should not contain links

    If you want to save some time: do not include links to other sites in a blog entry. It costed me most of my afternoon to figure out that three links I had made in the text of a new Blog entry caused page errors. First I thought the picture was too bi

  • Internal order work flow problem

    Both WF issues are related to internal orders  , Transaction KO03 ========== Example for 1 st case   consider A , 1 , 2, 3 , 4 are approvers A --->>>>     1)  , 2) , 3) , 4) if A doesnt  approved in 3 days , then it go to 1 , 2, 3, 4 after 3 days , a

  • Mac wireless internet won't work, but PC will. Help??

    I recently joined a sorority and whenever I am at my sorority house studying, it takes my macbook pro an average of a half an hour to connect to the wireless internet. When it finally connects, it seems random. I cannot figure out what makes it sudde

  • How to synamically choose and load a JAR at runtime

    Hi all, I have an application that uses an API to communicate with a backend system. There are five API jars that each support a different version of the backend system. I want to be able to select the jar at runtime. I can't put each in my CLASSPATH