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

2013-05-19 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 708543 normal
Bug #708543 [geogebra] geogebra: Geogebra crashes now on start
Severity set to 'normal' from 'grave'
> retitle 708543 geogebra: detect and avoid headless JREs
Bug #708543 [geogebra] geogebra: Geogebra crashes now on start
Changed Bug title to 'geogebra: detect and avoid headless JREs' from 'geogebra: 
Geogebra crashes now on start'
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
708543: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708543
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


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

2013-05-19 Thread Giovanni Mascellani
severity 708543 normal
retitle 708543 geogebra: detect and avoid headless JREs
thanks

Hi.

Il 18/05/2013 14:15, nicolas.patr...@gmail.com ha scritto:
> It lives!
> Thanks.
> I don’t know why this package was uninstalled or not installed.

Ok, then I'm degrading and retitling the bug report. I still hope
someone in the Java team to have some suggestion about how to handle
this problem.

Giovanni.
-- 
Giovanni Mascellani 
Pisa, Italy

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



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2013-05-18 Thread nicolas . patrois
Le 17/05/2013 21:15:01, Giovanni Mascellani a écrit :

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

It lives!
Thanks.
I don’t know why this package was uninstalled or not installed.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des 
humains ? Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2013-05-17 Thread Giovanni Mascellani
Hi.

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

Il 17/05/2013 19:14, nicolas.patr...@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 
Pisa, Italy

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



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

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

2013-05-17 Thread nicolas . patrois
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.

nicolas patrois : pts noir asocial
-- 
RÉALISME

M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des 
humains ? Un cerveau plus gros ?
P : Non... Une carte bleue suffirait...

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#708543: geogebra: Geogebra crashes now on start

2013-05-16 Thread Giovanni Mascellani
Hi.

Il 16/05/2013 16:47, Nicolas Patrois ha scritto:
>> geogebra 
> Exception in thread "main" java.awt.HeadlessException
>   at 
> java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
>   at java.awt.Window.(Window.java:535)
>   at java.awt.Frame.(Frame.java:420)
>   at java.awt.Frame.(Frame.java:385)
>   at geogebra.SplashWindow.splash(SplashWindow.java:178)
>   at geogebra.GeoGebra.main(GeoGebra.java:79)
> 
> In fact, I don’t know if it’s a Java bug (wrong version of Java) or a 
> Geogebra bug.

It sounds like you're using a headless JRE. Could you please check the
output of:

  java -version

and post it here? What happens if you launch:

  /usr/lib/jvm/java-6-openjdk-amd64/bin/java -jar
/usr/share/geogebra/geogebra.jar

Thanks for your report.

Giovanni.
-- 
Giovanni Mascellani 
Pisa, Italy

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



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#708543: geogebra: Geogebra crashes now on start

2013-05-16 Thread Nicolas Patrois
Package: geogebra
Version: 4.0.34.0+dfsg1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Geogebra used to work with Wheezy.
Now, it crashes on start:

> geogebra 
Exception in thread "main" java.awt.HeadlessException
at 
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.(Window.java:535)
at java.awt.Frame.(Frame.java:420)
at java.awt.Frame.(Frame.java:385)
at geogebra.SplashWindow.splash(SplashWindow.java:178)
at geogebra.GeoGebra.main(GeoGebra.java:79)

In fact, I don’t know if it’s a Java bug (wrong version of Java) or a Geogebra 
bug.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686-bigmem (SMP w/3 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages geogebra depends on:
ii  default-jre [java6-runtime] 1:1.6-47
ii  gcj-4.4-jre [java5-runtime] 4.4.7-1
ii  gcj-4.6-jre [java5-runtime] 4.6.3-4
ii  gcj-4.7-jre [java5-runtime] 4.7.2-3
ii  gcj-jre [java5-runtime] 4:4.7.2-1
ii  icedtea-netx-common 1.3.2-1
ii  libcollections15-java   4.01+ds1-1
ii  libcommons-math-java2.2-2
ii  libfreehep-graphics2d-java  2.1.1-3
ii  libfreehep-graphicsio-emf-java  2.1.1-emfplus+dfsg1-2
ii  libfreehep-graphicsio-java  2.1.1-3
ii  libfreehep-graphicsio-pdf-java  2.1.1+dfsg-1
ii  libfreehep-graphicsio-svg-java  2.1.1-3
ii  libfreehep-io-java  2.0.2-4
ii  libfreehep-util-java2.0.2-5
ii  libfreehep-xml-java 2.1.2+dfsg1-3
ii  libjfugue-java  4.0.3-3
ii  libjlatexmath-java  0.9.7-1
ii  librhino-java   1.7R3-5
ii  mathpiper   0.81f+svn4469+dfsg3-1
ii  openjdk-6-jre [java6-runtime]   6b27-1.12.5-1
ii  sun-java5-jre [java5-runtime]   1.5.0-19-1
ii  sun-java6-jre [java6-runtime]   6.26-3

geogebra recommends no packages.

Versions of packages geogebra suggests:
ii  cups  1.5.3-5

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.