svn-gvsig-desktop / tags / v1_1_2_1_Build_1046 / install / instalador-gvSIG-mac / preJava @ 36455
History | View | Annotate | Download (451 Bytes)
1 |
#!/bin/sh |
---|---|
2 |
# This script offers a chance to fix the "unixy" stuff before the JVM starts |
3 |
#(environment variables, etc) |
4 |
|
5 |
thisDir="${0%/*}" |
6 |
|
7 |
if [ -e ~/Library/Java/Extensions/jai_imageio.jar ] |
8 |
then |
9 |
if [ "`defaults read ~/gvSIG/launcher "Keep installed JAI-ImageIO"`" != "1" ] |
10 |
then |
11 |
open -W "$thisDir/uninstallJAIIO.app" |
12 |
fi |
13 |
fi |
14 |
|
15 |
export PROJ_LIB="$thisDir/../Resources/Java/gvSIG/extensiones/org.gvsig.crs/data" |
16 |
exec "$thisDir/JavaApplicationStub" "$@" |