4 Replies Latest reply: Feb 9, 2014 11:29 PM by NorthBlast RSS

    SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)

    NorthBlast

      I have been looking for a solution to this problem because I want to use this software in my mac but seems not to work any of the solutions I found..

       

      1. of course installing the latest version of JAVA -> JDK 7

      2. changing sqldeveloper-Darwin.conf and SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home

      3. same but changed to /Home/bin just to try diff solutions to the problem

      4. I also changed the sqldeveloper.conf and put the SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home there

      5. try to run the sqldeveloper (/Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin) shell waiting to see if was going to prompt me or ask me for JDK or whatever a set it to /usr (but never happened)

      6. going crazy now, so decide to make the post to see if someone can help or figure which step I am missing and maybe not seen the mistake..

       

      I really hope, someone can help me, I really tired of booting on Windows to run SQL Developer plus I find it kinda dumb that Oracle don't encounter this kind of issue to make users experience more nice..

        • 1. Re: SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)
          Jeff Smith Sqldev Pm-Oracle

          If you get to the loading screen, I don't think the problem is with the application finding Java.

           

          Run from the bin directory and when it hangs, get a thread dump on the process and show us what happens.

           

          Many of us here run SQL Developer on 'stock' Macs and we're not seeing this behavior.

          • 2. Re: SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)
            NorthBlast

            Thanks, Im running it from bin folder.. -> /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin still the same problem (keeps stock saying loading but doesn't do anything).. but something really interesting just came up.. I left it open and ran it again so it opened the app but couldn't use it.. it just kept thinking, loading or processing (like when an app gets freeze)..  Which is extremely weird.. why the second time I ran it is loading the extensions but the first time its not..

             

            This is where it hangs

             

            at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)

              at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)

              at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)

              at org.netbeans.core.netigso.Netigso.start(Netigso.java:190)

              at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:198)

              at org.netbeans.ModuleManager.enable(ModuleManager.java:1189)

              at org.netbeans.ModuleManager.enable(ModuleManager.java:1011)

              at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)

              at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)

              at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)

              at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)

              at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)

              at org.netbeans.core.startup.Main.start(Main.java:307)

              at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

              at java.lang.Thread.run(Thread.java:744)

            • 3. Re: SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)
              Jeff Smith Sqldev Pm-Oracle

              When it's frozen like that, I think a Ctrl+/ on Linux (prolly same for OS X) in that shell window will give you a full stack dump.

              • 4. Re: SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)
                NorthBlast

                This is what I got when I pressed Ctrl+/

                ....

                "Java2D Disposer" daemon prio=5 tid=0x00007ff5650f3800 nid=0xd107 in Object.wait() [0x000000011f34d000]

                   java.lang.Thread.State: WAITING (on object monitor)

                  at java.lang.Object.wait(Native Method)

                  - waiting on <0x00000007f1b18710> (a java.lang.ref.ReferenceQueue$Lock)

                  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                  - locked <0x00000007f1b18710> (a java.lang.ref.ReferenceQueue$Lock)

                  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)

                  at sun.java2d.Disposer.run(Disposer.java:145)

                  at java.lang.Thread.run(Thread.java:744)

                 

                "Java2D Queue Flusher" daemon prio=5 tid=0x00007ff5638c2800 nid=0xc007 in Object.wait() [0x000000011e03b000]

                   java.lang.Thread.State: TIMED_WAITING (on object monitor)

                  at java.lang.Object.wait(Native Method)

                  - waiting on <0x00000007f1b53d18> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)

                  at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:208)

                  - locked <0x00000007f1b53d18> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)

                 

                "AWT-EventQueue-0" prio=5 tid=0x00007ff5650b3800 nid=0xbb07 waiting on condition [0x000000011df38000]

                   java.lang.Thread.State: WAITING (parking)

                  at sun.misc.Unsafe.park(Native Method)

                  - parking to wait for  <0x00000007f1d51e98> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

                  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

                  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)

                  at java.awt.EventQueue.getNextEvent(EventQueue.java:543)

                  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)

                  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

                  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

                  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

                  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

                  at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

                 

                "AWT-Shutdown" prio=5 tid=0x00007ff56584d800 nid=0x750b in Object.wait() [0x000000011b69c000]

                   java.lang.Thread.State: WAITING (on object monitor)

                  at java.lang.Object.wait(Native Method)

                  - waiting on <0x00000007f1db28b0> (a java.lang.Object)

                  at java.lang.Object.wait(Object.java:503)

                  at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)

                  - locked <0x00000007f1db28b0> (a java.lang.Object)

                  at java.lang.Thread.run(Thread.java:744)

                 

                "AppKit Thread" daemon prio=5 tid=0x00007ff5638bb800 nid=0x507 runnable [0x0000000000000000]

                   java.lang.Thread.State: RUNNABLE

                 

                "Service Thread" daemon prio=5 tid=0x00007ff565025800 nid=0x5303 runnable [0x0000000000000000]

                   java.lang.Thread.State: RUNNABLE

                 

                "C2 CompilerThread1" daemon prio=5 tid=0x00007ff564036800 nid=0x5103 waiting on condition [0x0000000000000000]

                   java.lang.Thread.State: RUNNABLE

                 

                "C2 CompilerThread0" daemon prio=5 tid=0x00007ff564035000 nid=0x4f03 waiting on condition [0x0000000000000000]

                   java.lang.Thread.State: RUNNABLE

                 

                "Signal Dispatcher" daemon prio=5 tid=0x00007ff56381d000 nid=0x4d03 waiting on condition [0x0000000000000000]

                   java.lang.Thread.State: RUNNABLE

                 

                "Finalizer" daemon prio=5 tid=0x00007ff56500f000 nid=0x3903 in Object.wait() [0x00000001194ce000]

                   java.lang.Thread.State: WAITING (on object monitor)

                  at java.lang.Object.wait(Native Method)

                  - waiting on <0x00000007f1cfc3d8> (a java.lang.ref.ReferenceQueue$Lock)

                  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)

                  - locked <0x00000007f1cfc3d8> (a java.lang.ref.ReferenceQueue$Lock)

                  at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)

                  at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

                 

                "Reference Handler" daemon prio=5 tid=0x00007ff565006800 nid=0x3703 in Object.wait() [0x00000001193cb000]

                   java.lang.Thread.State: WAITING (on object monitor)

                  at java.lang.Object.wait(Native Method)

                  - waiting on <0x00000007f1ba5fc0> (a java.lang.ref.Reference$Lock)

                  at java.lang.Object.wait(Object.java:503)

                  at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)

                  - locked <0x00000007f1ba5fc0> (a java.lang.ref.Reference$Lock)

                 

                "VM Thread" prio=5 tid=0x00007ff564033800 nid=0x3503 runnable

                 

                "GC task thread#0 (ParallelGC)" prio=5 tid=0x00007ff564012800 nid=0x2503 runnable

                 

                "GC task thread#1 (ParallelGC)" prio=5 tid=0x00007ff564013800 nid=0x2703 runnable

                 

                "GC task thread#2 (ParallelGC)" prio=5 tid=0x00007ff564014000 nid=0x2903 runnable

                 

                "GC task thread#3 (ParallelGC)" prio=5 tid=0x00007ff564014800 nid=0x2b03 runnable

                 

                "GC task thread#4 (ParallelGC)" prio=5 tid=0x00007ff564015000 nid=0x2d03 runnable

                 

                "GC task thread#5 (ParallelGC)" prio=5 tid=0x00007ff564016000 nid=0x2f03 runnable

                 

                "GC task thread#6 (ParallelGC)" prio=5 tid=0x00007ff564016800 nid=0x3103 runnable

                 

                "GC task thread#7 (ParallelGC)" prio=5 tid=0x00007ff564017000 nid=0x3303 runnable

                 

                "VM Periodic Task Thread" prio=5 tid=0x00007ff56403f800 nid=0x5503 waiting on condition

                 

                JNI global references: 810

                 

                Heap

                PSYoungGen      total 38912K, used 8851K [0x00000007ef500000, 0x00000007f2000000, 0x0000000800000000)

                  eden space 33792K, 11% used [0x00000007ef500000,0x00000007ef8a7f50,0x00000007f1600000)

                  from space 5120K, 99% used [0x00000007f1b00000,0x00000007f1ffce20,0x00000007f2000000)

                  to   space 5120K, 0% used [0x00000007f1600000,0x00000007f1600000,0x00000007f1b00000)

                ParOldGen       total 87552K, used 5549K [0x00000007ce000000, 0x00000007d3580000, 0x00000007ef500000)

                  object space 87552K, 6% used [0x00000007ce000000,0x00000007ce56b460,0x00000007d3580000)

                PSPermGen       total 21504K, used 19157K [0x00000007be000000, 0x00000007bf500000, 0x00000007ce000000)

                  object space 21504K, 89% used [0x00000007be000000,0x00000007bf2b5640,0x00000007bf500000)