页次: 1
RT,下面是错误代码,请帮忙看一下如何解决阿,谢谢了
[liuhai@myArch ~]$ freemind
Checking Java Version...
java.io.FileNotFoundException: /home/liuhai/.freemind/auto.properties (没有那个文件或目录)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56)
Panic! Error while loading default properties.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:63)
Caused by: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
at java.awt.Window.<init>(Window.java:534)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:218)
at freemind.main.FreeMind.<init>(FreeMind.java:201)
at freemind.main.FreeMind.main(FreeMind.java:705)
... 5 more
Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
at java.awt.Window.<init>(Window.java:534)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1752)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1827)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1699)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:864)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:668)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:639)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:67)
离线
有没有人能给个答案?
离线
确认java安装好了,而且是那个支持图形的那个
>>>>>>>>>jekyll博客>>>>>>>>>>
<<<<<<<<<更残念的vimwiki<<<<<<<<<
本人vim控,偏偏喜欢lisp
离线
java.io.FileNotFoundException: /home/liuhai/.freemind/auto.properties (没有那个文件或目录)
离线
java.io.FileNotFoundException: /home/liuhai/.freemind/auto.properties (没有那个文件或目录)
这个问题已经解决了,但还是有问题,并且这个问题看不懂:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:63)
Caused by: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
at java.awt.Window.<init>(Window.java:534)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:218)
at freemind.main.FreeMind.<init>(FreeMind.java:201)
at freemind.main.FreeMind.main(FreeMind.java:705)
... 5 more
Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:197)
at java.awt.Window.<init>(Window.java:534)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1752)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1827)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1699)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:864)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:668)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:639)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:67)
离线
爆出java版本
java --version
just for fun :-)
离线
你电脑上配置的是openjdk吧? 换成oracle的jdk试试
Someone Like You
离线
页次: 1