您尚未登录。

#1 2012-02-28 13:59:38

liuhai19821028
会员
注册时间: 2012-02-24
帖子: 9

freemind无法启动

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)

离线

#2 2012-02-28 14:44:40

liuhai19821028
会员
注册时间: 2012-02-24
帖子: 9

Re: freemind无法启动

有没有人能给个答案?

离线

#3 2012-02-28 15:49:46

reverland
root
注册时间: 2012-02-04
帖子: 356
个人网站

Re: freemind无法启动

确认java安装好了,而且是那个支持图形的那个


>>>>>>>>>jekyll博客>>>>>>>>>>
<<<<<<<<<更残念的vimwiki<<<<<<<<<
本人vim控,偏偏喜欢lisp

离线

#4 2012-02-28 15:54:18

phoenixlzx
晩ご飯だよー
注册时间: 2011-08-19
帖子: 1,789
个人网站

Re: freemind无法启动

java.io.FileNotFoundException: /home/liuhai/.freemind/auto.properties (没有那个文件或目录)

离线

#5 2012-02-29 13:05:02

liuhai19821028
会员
注册时间: 2012-02-24
帖子: 9

Re: freemind无法启动

phoenixlzx 说:

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)

离线

#6 2012-03-02 21:17:37

ffwalle
机器人
注册时间: 2011-12-03
帖子: 393

Re: freemind无法启动

爆出java版本

java --version


just for fun :-)

离线

#7 2012-03-02 22:37:45

notebookarno
会员
注册时间: 2012-01-14
帖子: 22

Re: freemind无法启动

你电脑上配置的是openjdk吧?   换成oracle的jdk试试


Someone Like You

离线

页脚