在Fedora上安装XSDK java.lang.NoClassDefFoundError:无法初始化类sun.awt.X11GraphicsEnvironment

时间:2017-07-19 20:20:00

标签: java fedora xilinx

我试图在fedora 26上安装XSDK。但每当我尝试在root模式下执行它时。它给我这个错误信息:

`

Verifying archive integrity... All good.
Uncompressing Xilinx Installer.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
No protocol specified
No protocol specified
ERROR: Installer could not be started. Could not initialize class sun.awt.X11GraphicsEnvironment
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
    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 java.awt.Window.initGC(Window.java:475)
    at java.awt.Window.init(Window.java:495)
    at java.awt.Window.<init>(Window.java:537)
    at java.awt.Frame.<init>(Frame.java:420)
    at java.awt.Frame.<init>(Frame.java:385)
    at javax.swing.JFrame.<init>(JFrame.java:189)
    at i.b.<init>(Unknown Source)
    at com.xilinx.installer.gui.E.<init>(Unknown Source)
    at com.xilinx.installer.gui.InstallerGUI.<init>(Unknown Source)
    at com.xilinx.installer.gui.InstallerGUI.<clinit>(Unknown Source)
    at com.xilinx.installer.api.InstallerLauncher.main(Unknown Source)

`

我检查与用户设置相同的DISPLAY。 有什么想法吗?

0 个答案:

没有答案