Getting a HeadlessException: No X11 DISPLAY variable was set

前端 未结 5 1598
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 10:24
Exception in thread \"main\" java.awt.HeadlessException:
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at j         


        
5条回答
  •  死守一世寂寞
    2020-12-03 10:41

    I assume you're trying to tunnel into some unix box.

    Make sure X11 forwarding is enabled in your PuTTY settings.

    enter image description here

提交回复
热议问题