[mapserver-users] java MapScript

Scott Shealy sshealy at e811.com
Wed Dec 5 10:41:55 EST 2001


I have gotten it to compile... I had to rip out the SWIG generated exception 
handeling code and rename all method that genrated the stub 
getClass(conflicts with java.lang.Object.getClass) to getClass_.  That did 
the trick. I think the SWIG genrated error code only handle C runtime 
exceptions so it is not that big a deal. I have been meaning to go back and 
see why it will not compile but I have not had a chance yet.. As I remember 
it was complaining about some jClass object(a JNI object) in the error 
handling code that look perfectly fine to me...

Make sure when you compile it that you use all the same compiler flags that 
you compile the mapserver(libmap.a) with or you will have all kinds of fun 
runtime errors(related to memory errors)

Scott Shealy



More information about the mapserver-users mailing list