I had the same problem:
$ freemind
[warning] /usr/bin/freemind: No java runtime was found
[error] /usr/bin/freemind: Unable to find an appropriate java runtime. See java_wrappers(7) for help
It turned out, that $JAVA_HOME was not set.
For my Java-Installation (Sun), the following command worked to set the $JAVA_HOME variable:
I had the same problem:
$ freemind
[warning] /usr/bin/freemind: No java runtime was found
[error] /usr/bin/freemind: Unable to find an appropriate java runtime. See java_wrappers(7) for help
It turned out, that $JAVA_HOME was not set.
For my Java-Installation (Sun), the following command worked to set the $JAVA_HOME variable:
$ JAVA_HOME= /opt/java/ 32/jre1. 6.0_30/
$ export JAVA_HOME
To make this setting static, you might use the following command:
$ sudo bash -c "echo JAVA_HOME= /opt/java/ 32/jre1. 6.0_30/ >> /etc/environment"