[osgeo4w-dev] gdal-java package

Frank Warmerdam warmerdam at pobox.com
Fri Apr 18 17:36:10 EDT 2008


Folks,

I have packaged gdal-java for OSGeo4W.  This is the GDAL Java bindings.

It includes gdal.jar which I put in <osgeo4w>\lib, some dlls (I put in
<osgeo4w>\bin, and an example .java file with it's associated .class file
which I put in <osgeo4w>\share\gdal.

Once installed I can do this:

java -classpath C:\osgeo4w\lib\gdal.jar;. gdalinfo C:\warmerda\utm.tif

But I can't help but wonder if we should be doing something to make
the gdal.jar more automatically available.  Should we be building up
a CLASSPATH variable?  Or perhaps there is some way to stage .jar's in
the \lib directory so they will all be considered part of the classpath?

BTW, I'm astonished at the size of rt.jar (42MB) though I suppose that is
the bulk of the java runtime.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the osgeo4w-dev mailing list