Current situation (reviewed): I removed ~/.freemind and started freemind (without any argument) and get:
,---- | vk@gary ~2d % freemind | Checking Java Version... | java.io.FileNotFoundException: /home/vk/.freemind/auto.properties (No such file or directory) | at java.io.FileInputStream.open(Native Method) | at java.io.FileInputStream.<init>(FileInputStream.java:137) | at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136) | at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56) | Panic! Error while loading default properties. `---- Freemind starts and I have no problem(!) to open mindmap files at all. Then I quit and try it once again. This time, the java.io.FileNotFoundException from above does not show up and the usual behavior (freemind shows spashscreen forever doing nothing) happenes again. Using: openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib freemind freemind-browser freemind-doc freemind-plugins-help freemind-plugins-script freemind-plugins-svg Stefan Denker (ste...@dn-kr.de) wrote: > I am trying to reproduce this Bug... > > Just one quick question: You're using OpenJDK, right? And if you do, > does switching to the Sun-JDK "fix" it for you? ,----[ removing old openjdk ] | root@gary ~ # apt-get remove openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib | Reading package lists... Done | Building dependency tree | Reading state information... Done | The following packages were automatically installed and are no longer required: | jarwrapper libjericho-html-java fastjar binfmt-support | Use 'apt-get autoremove' to remove them. | The following packages will be REMOVED: | default-jre default-jre-headless ditaa icedtea-6-jre-cacao openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib | 0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded. | After this operation, 125 MB disk space will be freed. | Do you want to continue [Y/n]? | [...] `---- ,----[ installing sun-java6-jdk (and loosing ditaa) ] | root@gary ~ # agi sun-java6-jdk sun-java6-jre | sun-java6-jre is already the newest version. | The following packages were automatically installed and are no longer required: | jarwrapper libjericho-html-java fastjar binfmt-support | Use 'apt-get autoremove' to remove them. | Suggested packages: | sun-java6-demo openjdk-6-doc sun-java6-source | The following NEW packages will be installed: | sun-java6-jdk | 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. | Need to get 20.2 MB of archives. | After this operation, 62.8 MB of additional disk space will be used. | Do you want to continue [Y/n]? `---- > This worked for me, I've installed the JDK from Sun and modified > /usr/bin/freemind: > > --- /usr/bin/freemind 2011-05-07 13:21:55.000000000 +0200 > +++ /tmp/freemind-old 2011-05-07 13:21:30.000000000 +0200 > @@ -144,7 +144,7 @@ > if [ -r /usr/lib/java-wrappers/java-wrappers.sh ] > then # the Debian method > . /usr/lib/java-wrappers/java-wrappers.sh > - require_java_runtime openjdk sun > + require_java_runtime sun > else > findjava > if [ $? -ne 0 ] I applied this "patch" to my /usr/bin/freemind as well. ,----[ re-test scenario ] | vk@gary ~ % rm -rf ~/.freemind | vk@gary ~ % freemind | Checking Java Version... | java.io.FileNotFoundException: /home/vk/.freemind/auto.properties (No such file or directory) | at java.io.FileInputStream.open(Native Method) | at java.io.FileInputStream.<init>(FileInputStream.java:106) | at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:136) | at freemind.main.FreeMindStarter.main(FreeMindStarter.java:56) | Panic! Error while loading default properties. | freemind 8.62s user 0.61s system 39% cpu 23.320 total | vk@gary ~ % freemind | Checking Java Version... | freemind 8.58s user 0.48s system 32% cpu 28.218 total | vk@gary ~ % freemind | Checking Java Version... | freemind 6.57s user 0.44s system 82% cpu 8.528 total | vk@gary ~ % `---- Once again: only the first start (without ~/.freemind) gives the java.io.FileNotFoundException - well I guess that is on purpose :-) But this time: each following start of freemind works(!) and I can open (old) mindmaps without problems. > This may just be a Bug in OpenJDK we're dealing with. Seems so. At least with SUN JDK it works. -- Karl VOIT -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org