I want to add gdal library in Tomcat. I read Native libraries not found in Tomcat but don\'t understand where in startup.bat I should add -Djava.library.
According to the comments on catalina.bat, I think the right place is CATALINA_OPTS.
rem CATALINA_OPTS (Optional) Java runtime options used when the "start",
rem "run" or "debug" command is executed.
rem Include here and not in JAVA_OPTS all options, that should
rem only be used by Tomcat itself, not by the stop process,
rem the version command etc.
rem Examples are heap size, GC logging, JMX ports etc.