Bug#708543: Re : Bug#708543: geogebra: Geogebra crashes now on start

Giovanni Mascellani gio at debian.org
Fri May 17 19:15:01 UTC 2013


Hi.

(Cc:-ing debian-java at d.o for more comments)

Il 17/05/2013 19:14, nicolas.patrois at gmail.com ha scritto:
> Le 16/05/2013 22:42:01, Giovanni Mascellani a écrit :
> 
>> It sounds like you're using a headless JRE. Could you please check 
>> the output of:
> 
>> java -version
> java version "1.7.0_21"
> OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-4+b1)
> OpenJDK Server VM (build 23.7-b01, mixed mode)
> 
>> and post it here? What happens if you launch:
> 
>>   /usr/lib/jvm/java-6-openjdk-amd64/bin/java -jar
>> /usr/share/geogebra/geogebra.jar
> 
> It works but with the i386 version.

Oh yes, my bad about the architecture.

Anyway, I'd say that the problem is that you have installed:
 * openjdk-6-jre
 * openjdk-7-jre-headless, but not openjdk-7-jre (can you confirm? If
you install openjdk-7-jre, does the bug get solved?)

Geogebra ensures (via its dependencies) that there is at least one
complete (i.e., non headless) JRE installed, but then uses the most
recent one, even if that one is headless. Then GeoGebra dies, because it
requires a working GUI.

I don't know whether there is a general solution to this problem (i.e.,
detecting which installed JREs are non headless and using one of them).
Maybe the Java team has something to comment? (I had a look at
java-wrappers, but there seems to be no provision for this kind of problems)

Thanks.

Giovanni.
-- 
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 291 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130517/e9aa806f/attachment.pgp>


More information about the pkg-java-maintainers mailing list