Hello,

I had the same problem Florian mentioned and removing gcj-4.x-jre helped.

A different approach was modifying the script /usr/bin/imagej
like this:

[...snip...]
##################### DEFINE JAVA_HOME  #####################

if [ -z "$JAVA_HOME" ] ; then
    # This does not work see #505315
#    JAVA_HOME=$(/usr/sbin/update-java-alternatives -l | sort | tail -1 | cut 
-d' ' -f 3)
    # Reverted to old version - see #558222 (Andreas Tille)
    # JAVA_HOME=$(dirname $(dirname $(dirname $(readlink 
/etc/alternatives/java))))

    # to prevent problem mentioned in 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740439
    # one could use this to define JAVA_HOME
    #
    JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
fi

##################### CREATE THE RIGHT ENVIRONMENT #####################
[...snip...]

This only if one needs gcj-4.x-jre installed while using imagej.

Cheers, Joachim


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to