The ebuilds for all freemind versions are generating a start script that have the path to the java executable hardcoded. This means that after upgrading to a new java version freemind has to be remerged. An escaping backslash before the $ sign and removing the single quotes will fix the problem. Reproducible: Always Steps to Reproduce:
Thanks for taking the time to report this bug. This report isn't very useful because it doesn't describe the issue well. Please specify the line which needs to change. If it is possible, provide a patch by using "diff -u original_file fixed_file".
That should do: --- freemind-0.7.1-r1.ebuild.old 2005-07-02 20:23:54.000000000 +0200 +++ freemind-0.7.1-r1.ebuild 2005-07-02 20:24:35.000000000 +0200 @@ -33,7 +33,7 @@ echo "#!/bin/sh" > ${PN}.sh echo "cd /opt/${PN}" >> ${PN}.sh - echo "'${JAVA_HOME}'/bin/java -jar lib/${PN}.jar" >> ${PN}.sh + echo "\$(java-config --java) -jar lib/${PN}.jar" >> ${PN}.sh cp -R ${S}/doc ${D}/opt/${PN} use doc && java-pkg_dohtml -r doc/
fixed