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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-29
  • 2021-04-30
  • 2021-09-19
  • 2021-09-01
  • 2022-01-16
  • 2021-08-14
  • 2022-01-24
相关资源
相似解决方案