Ticket #2470 (new defect)
Java bindings: JAVA_INCLUDE broken on windows for JAVA_HOME with spaces
|Reported by:||mnidel||Owned by:||aaime|
If JAVA_HOME contains spaces, e.g. the default C:\Program Files\Java..., the JAVA_INCLUDE will not properly quote the path and the included .h files will not be found during the JNI DLL build.
The fix is to modify the following line:
to the following:
This solves the problem, which occurs at minimum with GDAL 1.5 branch.
A patch is attached to perform the fix.