[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Hi.

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

Il 17/05/2013 19:14, nicolas.patrois@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@poisson.phc.unipi.it>
Pisa, Italy

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

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: