[Gvsig_english] errors when running gvSIG on Linux
jaume dominguez faus
jaume.dominguez at iver.es
Fri May 11 08:16:38 CEST 2007
Hi Tim, the Java Virtual Machine you are using is missing JAI (Java
Advanced Imaging) library. This may be due to you choosed the "use an
existing JVM" option in the installation and your JVM does not include
JAI (which is the default for standard JVM). And more over, if you are
using a brand new instllation of your feisty probably the JVM you are
using is not the one recommended to run gvSIG.
Please, in a console run the command:
java -version
Should appear something like this
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
The easiest way is to reinstall using the "with prerequisites" option.
This should work in any situation because it includes everything needed.
And in case you prefer the JVM already existing in your system, then
you'll need to manually install JAI libraries. Here they are
http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas/software/linux/jai-1_1_2-lib-linux-i586-jre.bin
http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas/software/linux/jai_imageio-1_0_01-lib-linux-i586-jre.bin
To install, just locate where your JVM is, place the files there and run
them (don't forget the execution permissions).
Hope to be useful
Regards! Salut!
En/na Tim Michelsen ha escrit:
> Hello,
> thanks for your reply.
>
>> Hi! That is a gvSIG error... how did you exactly get the error?
>
> I installed the program with the java installer. I'd choosen the java
> in /use/bin/java. Then I opened it with the shortcut which was
> installe don my desktop. Then there appears a information console with
> the errors I'd posted.
> I get the same error when I use gvSIG.sh.
>
>> Which gvSIG version are you using?
>
> gvsig_update-1_0_2-linux-i586-withjre.bin
>
> I use it on a Ubuntu Feisty.
>
>
>> Could you please send this log so that we can gather more information
>> about the error?
>
> Here goes:
> WARN main org.gvsig.i18n.Messages - Translations couldn't be loaded --
> es.prodevelop.cit.gvsig.arcims -- de
> WARN main org.gvsig.i18n.Messages - Translations couldn't be loaded --
> es.prodevelop.cit.gvsig.arcims -- es
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.core -- Konnte Übersetzung nicht finden für: debe_estar_activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.core -- Konnte Übersetzung nicht finden für: debe_estar_activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.cit.gvsig.geoprocess -- Konnte Übersetzung nicht finden für:
> debería de estar activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.gvsig.addeventtheme -- Konnte Übersetzung nicht finden für:
> debería de estar activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.gvsig.centerviewpoint -- Konnte Übersetzung nicht finden für:
> debería de estar activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.gvsig.datalocator -- Konnte Übersetzung nicht finden für:
> debería de estar activada
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> org.gvsig.scripting -- Konnte Übersetzung nicht finden für: script_sep
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - gvSIG version: 1.0.2 (Build 913)
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - gvSIG app exec path: /home/timmie/gvSIG_1.0.2/bin
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - gvSIG user app home: /home/timmie/gvSIG/
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - gvSIG extension path:
> /home/timmie/gvSIG_1.0.2/bin/gvSIG/extensiones
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - gvSIG locale language: deu
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - OS name: Linux
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - arch:i386
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - version:2.6.20-15-generic
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - JAVA vendor: Sun Microsystems Inc.
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - version:1.5.0_11
> INFO AWT-EventQueue-1 com.iver.cit.gvsig.IntializeApplicationExtension
> - home: /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
> DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> La máquina virtual con la que se ejecuta gvSIG no tiene JAI instalado
> java.lang.ClassNotFoundException: javax.media.jai.EnumeratedParameter
> at
> com.iver.andami.plugins.PluginClassLoader.singleLoadClass(PluginClassLoader.java:210)
>
> at
> com.iver.andami.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:238)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:164)
> at
> com.iver.cit.gvsig.ProjectExtension.initialize(ProjectExtension.java:128)
> at com.iver.andami.Launcher.initializeExtensions(Launcher.java:691)
> at com.iver.andami.Launcher.access$4(Launcher.java:641)
> at com.iver.andami.Launcher$4.run(Launcher.java:331)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> at
> com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
>
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> ERROR AWT-EventQueue-1 com.iver.andami.Launcher - Fehler bei der
> lokalisierung der erweiterungsklassecom.iver.cit.gvsig.ProjectExtension
> java.lang.NoClassDefFoundError: javax/media/jai/EnumeratedParameter
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
> com.iver.andami.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:236)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at org.geotools.cs.WKTParser.parseDatum(WKTParser.java:312)
> at org.geotools.cs.WKTParser.parseGeoGCS(WKTParser.java:500)
> at
> org.geotools.cs.WKTParser.parseCoordinateSystem(WKTParser.java:596)
> at
> org.geotools.cs.WKTParser.parseCoordinateSystem(WKTParser.java:637)
> at
> org.geotools.cs.CoordinateSystemFactory.createFromWKT(CoordinateSystemFactory.java:734)
>
> at org.cresques.cts.gt2.CSDatum.fromWKT(CSDatum.java:194)
> at org.cresques.cts.gt2.CSDatum.<init>(CSDatum.java:185)
> at org.cresques.cts.gt2.CSDatum.<clinit>(CSDatum.java:127)
> at org.cresques.cts.ProjectionPool.<clinit>(ProjectionPool.java:50)
> at
> com.iver.cit.gvsig.fmap.crs.CRSFactory.<clinit>(CRSFactory.java:14)
> at com.iver.cit.gvsig.project.Project.<clinit>(Project.java:123)
> at
> com.iver.cit.gvsig.project.ProjectFactory.createProject(ProjectFactory.java:116)
>
> at
> com.iver.cit.gvsig.ProjectExtension.initialize(ProjectExtension.java:174)
> at com.iver.andami.Launcher.initializeExtensions(Launcher.java:691)
> at com.iver.andami.Launcher.access$4(Launcher.java:641)
> at com.iver.andami.Launcher$4.run(Launcher.java:331)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> at
> com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
>
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from org.gvsig.scripting
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from org.gvsig.georeferencing
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from org.gvsig.rasterTools
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.jdbc_spatial
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.geoprocess
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.core
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Konnte
> Übersetzung nicht finden für:
> options.general.browser.select_a_known_browser
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Konnte
> Übersetzung nicht finden für: options.general.browser.specify_a_command
> INFO AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> Se añade un listener al manager de notificaciones
> INFO AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> Se añade un listener al manager de notificaciones
> INFO AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> Se añade un listener al manager de notificaciones
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.wfs2
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from es.gva.cit.gvsig.catalogClient
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.wms
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.gvsig.centerviewpoint
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.gvsig.datalocator
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.gvsig.addeventtheme
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.wcs
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from es.prodevelop.cit.gvsig.arcims
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.cad
> DEBUG AWT-EventQueue-1 com.iver.andami.Launcher - Initializing
> extensions from com.iver.cit.gvsig.geoprocessextensions
> DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> Anwendungsfehler
> java.lang.NullPointerException
> at
> com.iver.gvsig.addeventtheme.AddEventThemeExtension.isVisible(AddEventThemeExtension.java:99)
>
> at
> com.iver.andami.plugins.ExtensionDecorator.isVisible(ExtensionDecorator.java:96)
>
> at
> com.iver.andami.ui.mdiFrame.MDIFrame.enableControls(MDIFrame.java:860)
> at com.iver.andami.Launcher$5.run(Launcher.java:350)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> at
> com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
>
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.core -- Konnte Übersetzung nicht finden für: Informationskonsole
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.core -- Konnte Übersetzung nicht finden für: Informationskonsole
> WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin
> com.iver.core -- Konnte Übersetzung nicht finden für: Aktiviert das
> fenster
> DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin - Activando
> Informationskonsole
> DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager -
> Anwendungsfehler
> java.lang.NullPointerException
> at
> com.iver.gvsig.addeventtheme.AddEventThemeExtension.isVisible(AddEventThemeExtension.java:99)
>
> at
> com.iver.andami.plugins.ExtensionDecorator.isVisible(ExtensionDecorator.java:96)
>
> at
> com.iver.andami.ui.mdiFrame.MDIFrame.enableControls(MDIFrame.java:860)
> at
> com.iver.core.mdiManager.NewSkin$FrameListener.internalFrameActivated(NewSkin.java:786)
>
> at
> javax.swing.JInternalFrame.fireInternalFrameEvent(JInternalFrame.java:1476)
>
> at javax.swing.JInternalFrame.setSelected(JInternalFrame.java:1052)
> at
> com.iver.core.mdiManager.NewSkin.activateJInternalFrame(NewSkin.java:481)
> at
> com.iver.core.mdiManager.NewSkin.addJInternalFrame(NewSkin.java:405)
> at
> com.iver.core.mdiManager.NewSkin.addJInternalFrame(NewSkin.java:468)
> at com.iver.core.mdiManager.NewSkin.addWindow(NewSkin.java:243)
> at
> com.iver.core.NotificationDialog.errorEvent(NotificationDialog.java:188)
> at
> com.iver.andami.messages.NotificationManager.AddError(NotificationManager.java:161)
>
> at
> com.iver.andami.messages.NotificationManager.addError(NotificationManager.java:104)
>
> at
> com.iver.andami.ui.mdiFrame.MDIFrame.enableControls(MDIFrame.java:881)
> at com.iver.andami.Launcher$5.run(Launcher.java:350)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
> at
> com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
>
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> DEBUG AWT-EventQueue-1 com.iver.core.mdiManager.NewSkin - Activando
> Informationskonsole
> DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memoria
> total: 10035080
> DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memoria
> total: 10098056
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
--
Jaume Dominguez Faus
Àrea de Software Lliure
Equip gvSIG
Iver TI
C. Salamanca, 52
46005 València
Telf: 902 25 25 40 Fax: 96 316 27 16
(Spain)
More information about the Gvsig_internacional
mailing list