Implementing John's proposed fix would have been ideal. However, what
happened was that it was made to depend on one of "openjdk-6-jre | sun-
java5-jre | sun-java6-jre" where as the script will only actually allow
one of those to work. Even something like the following would be better
(though still not ideal since it doesn't respect preferences):

if [ -f /usr/lib/jvm/java-6-openjdk/jre/bin/java ]; then
        JAVA='/usr/lib/jvm/java-6-openjdk/jre/bin/java -Xmx1024M'
else
        if [ -f /usr/lib/jvm/java-6-sun/jre/bin/java ]; then
                JAVA='/usr/lib/jvm/java-6-sun/jre/bin/java -Xmx1024M'
        else
                JAVA='/usr/bin/java -Xmx1024M'
        fi
fi

-- 
Vuze won't launch if default Java is not Java 6
https://bugs.launchpad.net/bugs/296880
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to