svn-gvsig-desktop / trunk / install / instalador-gvSIG-deb / resources / ecw-mrsid / gvSIG.sh @ 30320
History | View | Annotate | Download (785 Bytes)
1 |
#!/bin/sh |
---|---|
2 |
# gvSIG.sh |
3 |
# Script de arranque de gvSIG para paquetes deb (directorio de instalaciĆ³n /opt/gvSIG) |
4 |
export GVSIG_LIBS="/opt/gvSIG/libs:/opt/gvSIG/libs/gdal:/opt/gvSIG/libs/proj:/opt/gvSIG/libs/ecw:/opt/gvSIG/libs/mrsid" |
5 |
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GVSIG_LIBS" |
6 |
export PROJ_LIB="/opt/gvSIG/bin/gvSIG/extensiones/org.gvsig.crs/data" |
7 |
export GDAL_DATA="/usr/share/gdal15" |
8 |
cd "/opt/gvSIG/bin" |
9 |
|
10 |
for i in ./lib/*.jar ; do |
11 |
LIBRARIES=$LIBRARIES:"$i" |
12 |
done |
13 |
for i in ./lib/*.zip ; do |
14 |
LIBRARIES=$LIBRARIES:"$i" |
15 |
done |
16 |
|
17 |
/usr/lib/jvm/java-1.5.0-sun/bin/java -Djava.library.path=/usr/lib:/opt/gvSIG/libs:/opt/gvSIG/libs/gdal:/opt/gvSIG/libs/proj:/opt/gvSIG/libs/ecw:/opt/gvSIG/libs/mrsid -cp andami.jar$LIBRARIES -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones "$@" |
18 |
|