6 Replies Latest reply on Feb 20, 2015 10:37 PM by Gary Graham-Oracle

    Strange errors and crash starting SQLDeveloper (Linux)

    Ofnuts
      • downloaded jdk-7u75-linux-x64.tar.gz
      • downloaded sqldeveloper-4.0.3.16.84-no-jre.zip (the 'no-jre' could be a personal addition)
      • unzipped both in /opt so the JDK sits in /opt/sdk7oracle/jdk1.7.0_75/ and SQLdeveloper in /opt/sqldeveloper
      • edited ~/.sqldeveloper/4.0.0/product.conf with "SetJavaHome /opt/sdk7oracle/jdk1.7.0_75/"
      • CD to /opt/sqldeveloper/sqldeveloper/bin
      • likely did a chmod og+x ./sqldeveloper
      • enter "./sqldeveloper"
      • SQLDeveloper starts, splash screen appears, advances to "Registering extensions/oracle.ide.ceditor", and then hangs
      • teminal shows:

        Feb 19, 2015 3:59:43 PM javax.ide.extension.ElementVisitor log

        SEVERE: jar:/file:/opt/sqldeveloper/jdev/extensions/oracle.ide.xmlef.jar!/META-INF/extension.xml:13: <technology> element is missing required attribute: key

        Feb 19, 2015 3:59:43 PM javax.ide.extension.ElementVisitor log

        SEVERE: jar:/file:/opt/sqldeveloper/jdev/extensions/oracle.jdeveloper.java.core.jar!/META-INF/extension.xml:54: <technology> element is missing required attribute: key

         

        [... cut several hundred such errors... ]

         

        UIDefaults.getUI() failed: no ComponentUI class for: oracle.ide.controls.StatusBarControl$JDevStatusBar[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=]

        java.lang.Error

                at javax.swing.UIDefaults.getUIError(UIDefaults.java:732)

                at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:130)

                at javax.swing.UIDefaults.getUI(UIDefaults.java:762)

                at javax.swing.UIManager.getUI(UIManager.java:1013)

                at oracle.bali.ewt.statusBar.StatusBar.updateUI(StatusBar.java:480)

                at oracle.bali.ewt.statusBar.StatusBar.<init>(StatusBar.java:104)

                at oracle.ide.controls.StatusBarControl$JDevStatusBar.<init>(StatusBarControl.java:264)

      • Needless to say, in "/opt/sqldeveloper/jdev/extensions/oracle.ide.xmlef.jar!/META-INF/extension.xml" line 13 features a "key" attribute:

        <technology can-user-disable="false" key="XML"/>

      • Also tried to set an explicit JAVA_HOME and adding "/opt/sdk7oracle/jdk1.7.0_75/bin/" at the beginning of the path (I have other JREs looming).

       

      Any ideas? Must be something stupid?

       

      Linux is Ubuntu 14.04 AMD64.