下面是我得到的内容:(我看到一些X11显示变量需要设置,但是我应该给它什么值,以及如何设置?)~$ java -jar gate-5.0-beta1-build3048-installer.jarNo X11DISPLAYvariable was set, but this program performed an operation which requires it.
java.awt
实际上,在我的ubuntu16.04 x64 VPS上,我得到了这个java异常root@ziff-01:~# X -configureFatal server error:
(EE) Server is already active for display那么,如果X是活动的,那么我应该在哪里/如何配置"DIS
当运行下面的命令时,我得到了这个错误:错误:NoX11DISPLAY variable was set, but this program performed an operation which requires it.weka.gui.SplashWindow.splash(SplashWindow.java:262)
at weka.gui.GUI
/ssh>impossible to publish artifacts for <my.artifacts>;<my.version>: java.awt.HeadlessException:
No X11DISPLAY variable was set, but this program performed an operation which requires it.因此,我在远程用户的bash_profile中设置了DIS