Problemes d'instal·laciò a Debian GNU/LInux

marteljorge shared this question 12 years ago
Answered

No aconsegueixo instal·lar el GeoGebra via l'escript en sh. Ni com a usuari:

    marteljorge@debian-server:~/Descargas$ ./GeoGebra_3_2_0_1.bin.sh

    Preparing to install...

    Extracting the installation resources from the installer archive...

    Configuring the installer for this system's environment...


    Launching installer...


    Graphical installers are not supported by the VM. The console mode will be used instead...


    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)


    Stack Trace:

    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

    at java.awt.Component.<clinit>(Component.java:568)

    at com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)

    at ZeroGbb.a(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.q(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)

    at com.zerog.ia.installer.Main.main(DashoA10*..)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:616)

    at com.zerog.lax.LAX.launch(DashoA10*..)

    at com.zerog.lax.LAX.main(DashoA10*..)

    This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Ni com a Superusuari:

    debian-server:/home/marteljorge/Descargas# ./GeoGebra_3_2_0_1.bin.sh

    Preparing to install...

    Extracting the installation resources from the installer archive...

    Configuring the installer for this system's environment...


    Launching installer...


    Graphical installers are not supported by the VM. The console mode will be used instead...


    Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)


    Stack Trace:

    java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

    at java.awt.Component.<clinit>(Component.java:568)

    at com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)

    at ZeroGbb.a(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.q(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)

    at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)

    at com.zerog.ia.installer.Main.main(DashoA10*..)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:616)

    at com.zerog.lax.LAX.launch(DashoA10*..)

    at com.zerog.lax.LAX.main(DashoA10*..)

    This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

I ara ho estic mirant d'instal·lar emprant l'arxiu jar:

    debian-server:/home/marteljorge/Descargas# sh

    debian-server:/home/marteljorge/Descargas# CLASSPATH=GeoGebra_3_2_0_1.jar

    debian-server:/home/marteljorge/Descargas# export CLASSPATH

    debian-server:/home/marteljorge/Descargas# time java install


    Graphical installers are not supported by the VM. The console mode will be used instead...

Es passa un fum de temps i res...

No sé què coi passa... potser podria triar amb el codi font si el tinguès...

Algú pot dir-me d'on puc treure un repositori on sigui... no hi sembla ser ni al de C.a.l.i.u.

Comments (2)

photo
1

He provat a canviar la màquina virtual de Java que s'empra... Openjdk per l'oficial de Sun...

    debian-server:/home/marteljorge/Descargas# update-alternatives --config java


    Hi ha 4 alternatives que proveeixin «java».


    Selecció Alternativa

    -----------------------------------------------

    1 /usr/bin/gij-4.3

    2 /usr/lib/jvm/java-gcj/jre/bin/java

    *+ 3 /usr/lib/jvm/java-6-openjdk/jre/bin/java

    4 /usr/bin/jamvm


    Premeu retorn per a mantenir l'opció per defecte[*], o introduïu un número de selecció: 4

    S'està emprant «/usr/bin/jamvm» per a proveir «java».

    debian-server:/home/marteljorge/Descargas# time java install

M'ha preguntat pel idioma i... encara em té eperant...

photo
1

Es passa un fum de temps i res...

No sé què coi passa... potser podria triar amb el codi font si el tinguès...

Algú pot dir-me d'on puc treure un repositori on sigui... no hi sembla ser ni al de C.a.l.i.u.


Això m'agradaria saber a mi, on poder trobar el codi font, encara que tal volta siga posible decompilar el codi.


Per cert, pense que el teu problema està relacionat amb que has d'executar un servidor X amb un manegador de finestres, ja que l'instal·lador es gràfic.


Salutacions

© 2022 International GeoGebra Institute