[Gvsig_english] errors when running gvSIG on Linux

César Martínez Izquierdo cesar.martinez at iver.es
Fri May 11 13:11:32 CEST 2007


Tim Michelsen wrote:
>>> I'd like to have this directory to be selfcontained in order to be
>>> able to move it to /opt/
>> I use to have all Java programs in /opt/PROGRAMDIR
>>
>> But the installer did install 2 directories to my ~
>>
>> gvSIG_1.0.2/ which contains the program itself
>> gvSIG/ which only vontains the jre.

The idea is reusing the jre between several gvSIG installations, that's
why it is installed in "gvSIG/".

Anyway, you can just move the "jre" dir to wherever you wish, and then
edit the gvSIG.sh file so that it uses the proper route to the jre.
Regards,

  César

PD: If you move the gvSIG_1.0.2 directory, you should also update the
LD_LIBRARY_PATH variable, defined within the gvSIG.sh file. Otherwise
you won't be able to load raster files.

> Here's what I am thinking of:
> 
> /opt/local/gvSIG$ ls
> insgesamt 20K
> -rw-r--r-- 1 timmie users  224 2007-05-11 12:21 andami-config.xml
> drwxr-xr-x 4 timmie users 4,0K 2007-05-11 12:22 bin
> drwxr-xr-x 3 timmie users 4,0K 2007-05-11 12:21 jre
> drwxr-xr-x 2 timmie users 4,0K 2007-05-11 12:19 libs
> drwxr-xr-x 2 timmie users 4,0K 2007-05-11 12:19 Uninstaller
> 
> gvSIG.sh
> 
> #!/bin/sh
> # gvSIG.sh
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/local/gvSIG/libs/"
> cd "/opt/local/gvSIG/bin"
> #java -Djava.library.path=/usr/lib:"/opt/local/gvSIG/libs" -cp
> andami.jar:./lib/gvsig-i18n.jar:./lib/beans.jar:./lib/log4j-1.2.8.jar:./lib/iver-utiles.jar:./lib/castor-0.9.5.3-xml.jar:./lib/crimson.jar:./lib/xerces_2_5_0.jar:./lib/javaws.jar:./lib/xml-apis.jar:./lib/looks-2.0.2.jar:./lib/JWizardComponent.jar
> -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones $1
> /opt/local/gvSIG/jre/1.4.2_10/bin/java
> -Djava.library.path=/usr/lib:"/opt/local/gvSIG/libs" -cp
> andami.jar:./lib/gvsig-i18n.jar:./lib/beans.jar:./lib/log4j-1.2.8.jar:./lib/iver-utiles.jar:./lib/castor-0.9.5.3-xml.jar:./lib/crimson.jar:./lib/xerces_2_5_0.jar:./lib/javaws.jar:./lib/xml-apis.jar:./lib/looks-2.0.2.jar:./lib/JWizardComponent.jar:./lib/kxml2.jar:./lib/jcalendar.jar
> -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones "$@"
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> 
> 


-- 
César Martínez Izquierdo
Equipo de desarrollo gvSIG
http://www.gvsig.gva.es

IVER T.I.
C/ Salamanca 50
46005 Valencia - Spain
http://www.iver.es


More information about the Gvsig_internacional mailing list