Installare gvSIG 1.1.2 su Ubuntu 9.04|Installing gvSIG 1.1.2 on Ubuntu 9.04

Per installare gvSIG 1.1.2 ho seguito la seguente procedura:

  1. Scaricare i seguenti file e installarli nell’ordine:
    1. gvsig-1_1-linux-i586-withjre.bin
    2. gvsig_update-1_1_1-linux-i586.bin
    3. gvSIG-update-1_1_2-linux-i586.bin
  2. Renderli esegubili attraverso il comando ‘sudo chmod +x  *.bin’
  3. Lanciare il programma di installazione con ‘./gvsig*.bin’
  4. Installarli nell’ordine seguendo procedura guidata
  5. Avviare il programma portandosi nella directory di installazione …/gvSIG_1.1/bin ed eseguendo il comando ‘sudo ../gvSIG.sh’

N.B. Per la rilevazione delle directory di installazione degli aggiornamenti scegliere la procedura manuale (browser); accettare tutte le sostituzioni proposte nell’aggiornamento 1.1.2.
Inoltre per il corretto funzionamento delle finestre è opportuno disattivare gli “effetti visivi” del desktop:

  1. Cliccare il pulsante destro del mouse sulla Scrivania e selezionare “Preferenze dell’aspetto”
  2. Scegliere Effetti visivi->nessuno

Consiglio anche l’ottimo manuale in italiano recentemente pubblicatoFor installing gvSIG 1.1.2 I follow this procedure:

  1. Download all these files and install in the proper order:
    1. gvsig-1_1-linux-i586-withjre.bin
    2. gvsig_update-1_1_1-linux-i586.bin
    3. gvSIG-update-1_1_2-linux-i586.bin
  2. Make them executable with ‘sudo chmod +x *.bin’
  3. Run the installation program with ‘./gvsig*.bin’
  4. Install following the wizard
  5. Browse manually to locate the update directory
  6. Accept all the substitutions proposed
  7. For start the programme go to the directory …/gvSIG_1.1/bin and run the command ‘sudo ../gvSIG.sh’

For a proper operation of the gvSIG windows disable the desktop “visual effects”

A complete user guide is available here

6 Responses to Installare gvSIG 1.1.2 su Ubuntu 9.04|Installing gvSIG 1.1.2 on Ubuntu 9.04
  1. Antonio Falciano ha detto:

    Michele,
    per installare gvSIG 1.1.2 su Ubuntu 9.04, cosi’ come su qualsiasi altra distro Linux, è possibile usare direttamente l’apposito installer presente in:
    https://gvsig.org/web/projects/gvsig-desktop/devel/gvsig-1_1/gvsig-1_1_2/version?subprojectBuildnumber=1045&action=listFiles

    NB: gli installer unici per win invece sono broken link!

    Davvero ottimo il manuale! 😉

    ciao
    Antonio

  2. admin ha detto:

    Ottimo 🙂
    Spero li rendano disponibili in una sezione più accessibile del portale o in quella di download del sito stesso.
    Grazie Antonio.

    Ciao
    Michele

  3. Luís ha detto:

    Hi there Michele,

    I followed your instructions successfully until I had to run it with ‘./gvSIG.sh’. gvSIG simply unloads a list of exceptions on me:

    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.core — Cannot find translation for debe_estar_activada
    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.core — Cannot find translation for debe_estar_activada
    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.cit.gvsig.geoprocess — Cannot find translation for debería de estar activada
    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.gvsig.addeventtheme — Cannot find translation for debería de estar activada
    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.gvsig.datalocator — Cannot find translation for debería de estar activada
    WARN [AWT-EventQueue-1] (?:?) – Plugin com.iver.gvsig.centerviewpoint — Cannot find translation for debería de estar activada
    WARN [AWT-EventQueue-1] (?:?) – Menu without position assigned – Capa/export_to/GML – org.gvsig.gpe.GPEWriterExtension
    WARN [AWT-EventQueue-1] (?:?) – Menu without position assigned – Capa/export_to/KML – org.gvsig.gpe.GPEWriterExtension
    WARN [AWT-EventQueue-1] (?:?) – Plugin org.gvsig.scripting — Cannot find translation for script_sep
    WARN [AWT-EventQueue-1] (?:?) – Plugin org.gvsig.gpe — Cannot find translation for GML
    WARN [AWT-EventQueue-1] (?:?) – Plugin org.gvsig.gpe — Cannot find translation for GML
    WARN [AWT-EventQueue-1] (?:?) – Plugin org.gvsig.gpe — Cannot find translation for KML
    WARN [AWT-EventQueue-1] (?:?) – Plugin org.gvsig.gpe — Cannot find translation for KML
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig
    INFO [AWT-EventQueue-1] (?:?) – gvSIG version: 1.1.2 (Build 1045)
    INFO [AWT-EventQueue-1] (?:?) – gvSIG app exec path: /usr/local/gvSIG_1.1/bin
    INFO [AWT-EventQueue-1] (?:?) – gvSIG user app home: /root/gvSIG/
    INFO [AWT-EventQueue-1] (?:?) – gvSIG extension path: /usr/local/gvSIG_1.1/bin/gvSIG/extensiones
    INFO [AWT-EventQueue-1] (?:?) – gvSIG locale language: eng
    INFO [AWT-EventQueue-1] (?:?) – OS name: Linux
    INFO [AWT-EventQueue-1] (?:?) – arch:i386
    INFO [AWT-EventQueue-1] (?:?) – version:2.6.28-11-generic
    INFO [AWT-EventQueue-1] (?:?) – JAVA vendor: Sun Microsystems Inc.
    INFO [AWT-EventQueue-1] (?:?) – version:1.6.0_13
    INFO [AWT-EventQueue-1] (?:?) – home: /usr/lib/jvm/java-6-sun-1.6.0.13/jre
    DEBUG [AWT-EventQueue-1] (?:?) – 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(Unknown Source)
    at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at com.iver.cit.gvsig.ProjectExtension.initialize(Unknown Source)
    at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
    at com.iver.andami.Launcher.access$400(Unknown Source)
    at com.iver.andami.Launcher$4.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    WARN [AWT-EventQueue-1] (?:?) – org.cresques.ui Can’t find bundle for base name org.cresques.translations.text_en, locale en
    WARN [AWT-EventQueue-1] (?:?) – org.cresques.ui Can’t find bundle for base name org.cresques.translations.text, locale es
    Write RASTER: extension ‘tif’ supported.
    Write RASTER: extension ‘jp2’ supported.
    Write RASTER: extension ‘jpg’ supported.
    ERROR [AWT-EventQueue-1] (?:?) –
    java.lang.NoClassDefFoundError: oracle/sql/Datum
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructor0(Class.java:2699)
    at java.lang.Class.newInstance0(Class.java:326)
    at java.lang.Class.newInstance(Class.java:308)
    at com.hardcode.driverManager.DriverManager.loadDrivers(Unknown Source)
    at com.iver.cit.gvsig.fmap.layers.LayerFactory.initializeDriverManager(Unknown Source)
    at com.iver.cit.gvsig.fmap.layers.LayerFactory.setDriversPath(Unknown Source)
    at com.iver.cit.gvsig.ProjectExtension.initialize(Unknown Source)
    at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
    at com.iver.andami.Launcher.access$400(Unknown Source)
    at com.iver.andami.Launcher$4.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.ClassNotFoundException: oracle.sql.Datum
    at com.iver.andami.plugins.PluginClassLoader.singleLoadClass(Unknown Source)
    at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    … 21 more
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.geoprocess
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.core
    INFO [AWT-EventQueue-1] (?:?) – Se añade un listener al manager de notificaciones
    INFO [AWT-EventQueue-1] (?:?) – Se añade un listener al manager de notificaciones
    INFO [AWT-EventQueue-1] (?:?) – Se añade un listener al manager de notificaciones
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from es.gva.cit.gvsig.catalogClient
    Añado CatalogClientModule
    WARN [AWT-EventQueue-1] (?:?) – Cannot find translation for Catalog
    Añado GazetteerModule
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.oracle_spatial
    ERROR [AWT-EventQueue-1] (?:?) – Unbale to instantiate ROWID (oracle jar missing?) : oracle.sql.ROWID
    INFO [AWT-EventQueue-1] (?:?) – *———————————————————————–*
    INFO [AWT-EventQueue-1] (?:?) – * Oracle library not found! *
    INFO [AWT-EventQueue-1] (?:?) – * You need to place the Oracle JDBC library in gvSIG’s main LIB folder. *
    INFO [AWT-EventQueue-1] (?:?) – * Read the Oracle driver user manual for details. *
    INFO [AWT-EventQueue-1] (?:?) – *———————————————————————–*
    DEBUG [AWT-EventQueue-1] (?:?) – createOracleEpsgTable() — fdsa = es.prodevelop.cit.gvsig.fmap.drivers.jdbc.oracle.OFileDataSourceAdapter@7c4768
    INITIALIZEFIELDS: FIELD ID
    INITIALIZEFIELDS: FIELD EPSG
    INITIALIZEFIELDS: FIELD ORACLE
    INITIALIZEFIELDS: FIELD PRF_ORACLE
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from org.gvsig.crs
    SPHEROID[“WGS84”, 6378137.0, 298.257223563]
    ERROR [AWT-EventQueue-1] (?:?) – Cannot locate extension classorg.gvsig.crs.JCrsExtension
    java.lang.NoClassDefFoundError: javax/media/jai/EnumeratedParameter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(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:307)
    at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    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(Unknown Source)
    at org.cresques.cts.gt2.CSDatum.(Unknown Source)
    at org.cresques.cts.gt2.CSDatum.(Unknown Source)
    at org.cresques.cts.ProjectionPool.(Unknown Source)
    at com.iver.cit.gvsig.fmap.crs.CRSFactory.(Unknown Source)
    at org.gvsig.crs.JCrsExtension.initialize(Unknown Source)
    at com.iver.andami.Launcher.initializeExtensions(Unknown Source)
    at com.iver.andami.Launcher.access$400(Unknown Source)
    at com.iver.andami.Launcher$4.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.ClassNotFoundException: javax.media.jai.EnumeratedParameter
    at com.iver.andami.plugins.PluginClassLoader.singleLoadClass(Unknown Source)
    at com.iver.andami.plugins.PluginClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    … 35 more
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from org.gvsig.georeferencing
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.wcs
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.annotation
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from es.prodevelop.cit.gvsig.arcims
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.geoprocessextensions
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from org.gvsig.rasterTools
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.jdbc_spatial
    Añado WizardJDBC.
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.gvsig.datalocator
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from org.gvsig.scripting
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from org.gvsig.gpe
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.gvsig.centerviewpoint
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.gvsig.addeventtheme
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.wms
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.cad
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.cit.gvsig.wfs2
    Añado Wizard WFS2.
    DEBUG [AWT-EventQueue-1] (?:?) – Initializing extensions from com.iver.gvsig.expresionfield
    ERROR [main] (?:?) – excepción al arrancar
    java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:997)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323)
    at com.iver.andami.Launcher.main(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.iver.cit.gvsig.fmap.crs.CRSFactory
    at com.iver.cit.gvsig.project.Project.(Unknown Source)
    at com.iver.cit.gvsig.project.ProjectFactory.createProject(Unknown Source)
    at com.iver.cit.gvsig.ProjectExtension.loadInitialProject(Unknown Source)
    at com.iver.cit.gvsig.ProjectExtension.postInitialize(Unknown Source)
    at com.iver.andami.Launcher.postInitializeExtensions(Unknown Source)
    at com.iver.andami.Launcher.access$600(Unknown Source)
    at com.iver.andami.Launcher$4.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  4. admin ha detto:

    Hi Luis,
    perhaps the problem can be in installation procedure. Is there only one, or more than one, gvsig_*.* directory in usr/local/gvsig?
    I advise you to install the 1.1 version and to run it with ‘./gvSIG.sh’. After that continue with the update.

    Regards
    Michele

  5. Luís ha detto:

    After some digging I found out that Java Advanced Imaging must be installed prior to gvSIG.

    You might consider adding this step to this tutorial.

  6. admin ha detto:

    I know it, but it’s embedded in the gvSIG’s package, you shouldn’t need to install it separately. Anyway I’m glad you managed the installation.