You are here

Installing Funambol on a 64-bit Ubuntu

This is something that I found out by installing Funambol 7.1.1 on an Ubuntu 8.04.3 amd64 (virtual) machine:
Funambol uses it's own packaged sun java 5, but it's a 32-bit version. The service doesn't seem to start with /opt/Funambol/bin/funambol start, and strace seems to give the error "/opt/Funambol/tools/jre-1.5.0/jre/bin/java: No such file or directory". But the file is definitely there! The problem is that this java is compiled against 32-bit libraries. You can either force every script in Funambol to use a 64-bit java, or you can install 32 compatibility libraries with
sudo aptitude install ia32-libs


Thanks for the hint!

Another option is to provide the correct JAVA_HOME pointing to your version of Java.
On ubuntu when using the packaged OpenJDK 6, you can add:

export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

to the top of the 'funambol' startup script.

This way you can use the normal 64bit Java Runtime

Reactie toevoegen