Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:233)
at gui.action.NewAction$NewDialog.<init>(NewAction.java:113)
at gui.action.NewAction.showNew(NewAction.java:82)
at gui.Main.main(Main.java:124)
at JFLAP.main(JFLAP.java:57)
通过运行java -jar JFLAP.jar
尝试运行JFLAP.jar文件时。它给了我上面的错误。运行java -version
时它会告诉我:
openjdk version "1.8.0_71"
OpenJDK Runtime Environment (build 1.8.0_71-b15)
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)
关于出了什么问题的任何想法?感谢。