在ubuntu下安装ItelliJ

http://wiki.jetbrains.net/intellij/Installing_and_running_IntelliJ_IDEA_on_Ubuntu#Running_IntelliJ_IDEA

遇到的问题:

Exception in thread "main" java.awt.HeadlessException: Unable to detect graphics environment
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at com.intellij.idea.Main.main(Main.java:62)
解决办法:

 

If you're on the main display, then

export DISPLAY=:0.0

or if you're using csh or tcsh

setenv DISPLAY :0.0

posted on 2013-12-07 19:53  高董  阅读(2844)  评论(1编辑  收藏  举报

导航