1 2 Previous Next 19 Replies Latest reply: May 22, 2014 3:38 PM by user6747841 Go to original post RSS
      • 15. Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp
        bruno.antunes

        Problem is still present on final release of SQLDeveloper 4 using Oracle Java SE 7 update 45. Tested on openSUSE 13.1  using Gnome Desktop

         

        Also reported on this thread, performing "unset -v GNOME_DESKTOP_SESSION_ID" before launching SQLDeveloper workarounds the problem.

        • 16. Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp
          JaredT

          Problem still persistent.  Linux Mint 16 (Petra)

          SQLDeveloper 4.0.1

          Oracle Java SE 7 update 51

          java version "1.7.0_51"

          Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

          Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

           

          The workaround "unset -v GNOME_DESKTOP_SESSION_ID" does not seem to be working.  sudo is the only working solution for me at this point.

          • 17. Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp
            trent

            Since the prob was persisting, I've opted just to install OpenJDK and use that for SQL Developer. So Oracle JDK is whats linked to /usr/bin/java, then I updated ~/.sqldeveloper/product.conf and have the line:

             

            SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64

             

            It seems to work fine with OpenJDK as sopvkore suggested earlier.

            • 18. Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp
              JaredT

              I also gave up on the Oracle JDK.

              I did the same steps trent did with one addition.  I didn't like the terminal window being left visible, so I installed terminator and hid the terminal window:

               

              sudo apt-get install terminator

              sudo vi /usr/bin/sqldeveloper

               

              change line:

              XTERM_OPTS="-e"

              to read

              XTERM_OPTS="-He"

              • 19. Re: 4EA1: Not starting on Ubuntu. Unkown protocol sqldev.temp
                user6747841

                Another way to do this fairly cleanly is to use a .desktop file.  Here's my .desktop file for launching SQL Developer:

                [Desktop Entry]
                Version=1.0
                Name=Oracle SQL Developer
                GenericName=SQL Client
                Comment=Develop SQL code
                MimeType=text/english;text/plain;text/sql;text/x-sql;
                Exec=env -u GNOME_DESKTOP_SESSION_ID /opt/sqldeveloper/sqldeveloper.sh %F
                TryExec=/opt/sqldeveloper/sqldeveloper.sh
                Icon=/opt/sqldeveloper/icon.png
                Type=Application
                Terminal=false
                Categories=Utility;Development;TextEditor;
                

                You would just need to adjust the path for the application above.  The 'env' command unsets the environment variable GNOME_DESKTOP_SESSION_ID before launching.

                1 2 Previous Next