Packaging GDAL with Java
问题 I have a Java project that uses GDAL bindings on Win7. The problem is that due to the nature of the bindings, it requires setting environment variables to work, specially PATH , GDAL_DATA , GDAL_DRIVER_PATH , and PROJ_LIB . I mean they're easy enough for me to create and point to the GDAL directory. However if I ever want to distribute this, this is going to be an unwieldy step for the average user. I need some way to configure the GDAL bindings in a way that the user can copy the program