Package: latexdraw
Version: 2.0.6+1-1
Severity: minor

The wrapper script /usr/bin/latexdraw is set up to ignore alternatives settings and serach for jre's. At present the script sequentially checks sun-java then openjdk, so if both are installed the openjdk will always be chosen.

The speed and rendering performance of latexdraw are far superior when run under sun-java. i.e sun-java should really be the default choice when available. The fix is to simply reverse the order they
are searched in the wrapper script

change:
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-openjdk && test -d $t && JAVA_HOME=$t

to:
t=/usr/lib/jvm/java-6-openjdk && test -d $t && JAVA_HOME=$t
t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t


Cheers

Adrian



--
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