“没有X11 DISPLAY变量”-是什么意思?
我正在尝试在Linux计算机(Slackware)上安装Java应用程序。 我收到以下错误,但我不理解。 你能告诉我如何解决这个问题吗?谢谢。 这是我得到的:(我看到需要设置一些X11 DISPLAY变量,但是我应该给它什么值以及如何赋予它?) ~$ java -jar gate-5.0-beta1-build3048-installer.jar - ERROR - java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.GraphicsEnvironment.checkHeadless(Graphic sEnvironment.java:159) at java.awt.Window.<init>(Window.java:407) at …