I am trying to create a softlink that points to init.d, as the following:
ln -s /etc/init.d/funambol /opt/funambol/bin/funambol
However, when ever I try to execute the softlink, it throws me an error "Please set JAVA_HOME to a valid jre".
Upon research, I appears that it uses it own jre: /opt/funambol/tools/jre-1.5.0., and I have tried to set JAVA_HOME but it did not work.
How can I resolve this?