#!/bin/sh # This script offers a chance to fix the "unixy" stuff before the JVM starts #(environment variables, etc) thisDir="${0%/*}" if [ -e ~/Library/Java/Extensions/jai_imageio.jar ] then if [ "`defaults read ~/gvSIG/launcher "Keep installed JAI-ImageIO"`" != "1" ] then open -W "$thisDir/uninstallJAIIO.app" fi fi export PROJ_LIB="$thisDir/../Resources/Java/gvSIG/extensiones/org.gvsig.crs/data" exec "$thisDir/JavaApplicationStub" "$@"