2 Replies Latest reply on Apr 12, 2012 9:17 PM by 930314

    SQL Developer 3.0.04 and 3.1 wont open

    930314
      I upgraded to OS X Lion today and SQL Developer stopped working.

      I think I've narrowed it down to missing Java installation even tho I have installed the JDK from apple from connect.apple.com?

      Contents of sqldeveloper-Darwin.conf:

      AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
      AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
      AddVMOption -Dcom.apple.macos.smallTabs=true
      AddVMOption -Dapple.laf.useScreenMenuBar=true
      SetSkipJ2SDKCheck false
      SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
      AddVMOption -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar

      Contents of /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/

      rcoleman$ cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/
      -bash: cd: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/: No such file or directory

      So I looked in Versions:

      rcoleman$ ls -lh
      total 32
      lrwxr-xr-x 1 root wheel 10B Apr 12 16:05 1.6 -> CurrentJDK
      lrwxr-xr-x 1 root wheel 10B Apr 12 16:05 1.6.0 -> CurrentJDK
      drwxr-xr-x 8 root wheel 272B Apr 12 16:06 A
      lrwxr-xr-x 1 root wheel 1B Apr 12 16:05 Current -> A
      lrwxr-xr-x 1 root wheel 59B Apr 12 16:05 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

      So I looked in /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

      rcoleman$ cd /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
      -bash: cd: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents: No such file or directory

      In fact:

      rcoleman$ cd /System/Library/Java/JavaVirtualMachines
      -bash: cd: /System/Library/Java/JavaVirtualMachines: No such file or directory

      I have installed the JDK from apple from connect.apple.com

      Is there something else i need to do?? I can't find anything that I seem to need with respect to Java and SQLDeveloper.
        • 1. Re: SQL Developer 3.0.04 and 3.1 wont open
          930314
          I found an answer that worked here:

          Re: SQL Developer on Mac OS X Lion (10.7)?

          Essentially I had to install Java?? From here: http://support.apple.com/kb/DL1421

          The really strange part is that I did the Lion upgrade on my laptop and SQLDeveloper worked without a hitch there.

          At any rate. Hope this helps the next person with this same issue.
          • 2. Re: SQL Developer 3.0.04 and 3.1 wont open
            930314
            Oh and I had to re-edit my sqldeveloper-Darwin.conf file to put in the new path to java home:

            ddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
            AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
            AddVMOption -Dcom.apple.macos.smallTabs=true
            AddVMOption -Dapple.laf.useScreenMenuBar=true
            SetSkipJ2SDKCheck true
            SetJavaHome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
            AddVMOption -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar