准备用思维导图写一个Subversion的路线图,开始想用XMind,因为它很漂亮,但是用了一会儿才发现似乎不能导出为可点击的HTML,所以放弃。还是去寻找传统一点的FreeMind,但是竟然无法保存,无论是Ctrl+s还是菜单里的Save都没有任何反应。在google里搜了一下“FreeMind 无法保存”,没找到结果,于是跑到官方网站去看FAQ,才发现有一个明确的答复,如下:
The most obvious indication is that you click on open/save/save as and nothing happens. What is happening is that the file browser window is failing to open. There are two fixes; Either change JAVA_HOME to point to a JRE rather than a JDK or edit the Freemind.bat file to use the absolute path to the correct java and start Freemind with the bat file. It will be something like “C:\Program Files\Java\jre1.6.0_05\bin\java” instead of just java. Note the use of quote marks and that your java path may not be the same as the example.
照着做了,可是还是没有效果,不过提示我运行Freemind.bat,结果发现保存时的错误为:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:161)
at javax.swing.ImageIcon.(ImageIcon.java:147)
原来如此,可能是AWT的问题,于是我尝试修改LookAndFeel,在Tools->Preference->Appearance-> LookAndFeel中,我设置为Gtk,结果重启后就好了,样子很难看,想去试一下别的,发现都不行,只好留着Gtk了。但是总算能用了。为什么我的JRE只在Gtk下工作正常?下次装一个新的JDK再看看。
Related posts:
One Response
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
垃圾限制你。