2 Replies Latest reply on Mar 2, 2018 7:57 PM by RStreekstra

    linux installation failed - sqldeveloper

    Neto10

      Hi, After installing sqldeveloper-17.4.0.355.2349-1.noarch on linux fedora workstation 27 (virtual machine - virtualbox), the following error occurs when trying to start the program: Exception in thread "main" java.awt.AWTError: Can ' t connect to X11 window server using ': 0' as the value of the DISPLAY variable.
      Java 64bit version 1.8.0_144
      Can you help me solve this problem?

      Complete error:

       

      [root@localhost sqldeveloper]# ./sqldeveloper.sh

       

      Oracle SQL Developer

      Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.

       

      No protocol specified

      Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

          at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

          at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)

          at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)

          at java.security.AccessController.doPrivileged(Native Method)

          at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:264)

          at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)

          at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)

          at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:264)

          at java.awt.Toolkit$2.run(Toolkit.java:860)

          at java.awt.Toolkit$2.run(Toolkit.java:855)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

          at java.awt.Toolkit.getEventQueue(Toolkit.java:1736)

          at java.awt.EventQueue.isDispatchThread(EventQueue.java:1043)

          at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1361)

          at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(SplashScreenImpl.java:529)

          at oracle.ide.osgi.boot.api.SplashScreen.createInstance(SplashScreen.java:66)

          at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(OracleIdeLauncher.java:828)

          at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:109)