[Proj] Java Interface for PROJ?

Andrea Antonello moovida at katamail.com
Mon May 30 11:18:02 EDT 2005


> Does the .jar use he exact same PROJ.DLL that is already produced by the
> regular Windows build? If yes then it should be no problem for us to
> produce our own build.

Yes it is the same, you just have to take care to compile it with the 
--with-jni stuff:

To complile the native part, configure has to be run like this:
CFLAGS=-Iinclude2 ./configure --with-jni=include1
where
include1 = folder in which the header file jni.h resides (usually 
$JAVA_HOME/include)
include2 = folder in which the header file jni_md.h resides (usually 
$JAVA_HOME/include/linux or whatever)

The jar is simply built by the ant script and should give no problems.


At the end of the README there is also a copy-paste example to test it.

Cheers,
Andrea





-- 
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com

Andrea Antonello
Environmental Engineer
mobile:  +393288497722

"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________





More information about the Proj mailing list