svn-gvsig-desktop / tags / v1_9_RC1 / install / instalador-gvSIG-mac / preJava @ 33814
History | View | Annotate | Download (451 Bytes)
1 | 17802 | mijail | #!/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 | 21719 | mijail | 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 | 17802 | mijail | |
15 | 21719 | mijail | export PROJ_LIB="$thisDir/../Resources/Java/gvSIG/extensiones/org.gvsig.crs/data" |
16 | 17802 | mijail | exec "$thisDir/JavaApplicationStub" "$@" |