12 Replies Latest reply: Oct 12, 2012 3:59 AM by Ronald Rood RSS

    sqldev 3.2.10 not starting on osx - java.lang.NoClassDefFoundError: oracle/

    Ronald Rood
      Hi all, I just downloaded the latest and greatest version of SQLDeveloper. I can not get it to work.

      When starting from the commandline I get:
      SQLDeveloper 3.2.10.09.57.app/Contents/MacOS
      $>./sqldeveloper.sh
      java version "1.7.0_07"
      Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
      Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
      java.lang.NoClassDefFoundError: oracle/javatools/util/Log
           at oracle.ide.IdeCore.<clinit>(IdeCore.java:2119)
           at oracle.ideimpl.Main.start(Main.java:183)
           at oracle.ideimpl.Main.main(Main.java:146)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
           at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
           at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:189)
           at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
           at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
           at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
           at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
           at oracle.ide.boot.Launcher.launch(Launcher.java:68)
           at oracle.ide.boot.Launcher.main(Launcher.java:57)
      Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:

           Missing class: oracle.javatools.util.Log

           Dependent class: oracle.ide.IdeCore
           Loader: ide-global:11.1.1.0.0
           Code-Source: /Applications/oracle/product/SQLDeveloper/SQLDeveloper 3.2.10.09.57.app/Contents/Resources/sqldeveloper/ide/extensions/oracle.ide.jar
           Configuration: boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES

      This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.

      The missing class is not available from any code-source or loader in the system.
           at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2190)
           at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1733)
           at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1689)
           at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
           ... 26 more

      Starting from the Finder does not give anything.
      Version 3.2.09 is working OK.
      MacosX version 10.8.2

      Also tried with java version "1.6.0_35" - same error. (both 32 and 64 bits versions)

      Is a solution already known?