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
or if you're using csh or tcsh
|