Mike Pumphrey ha scritto: > Hi Roger. > >> Would there be any way to make sure JAI was installed? And maybe >> some instructions on how to get both the Java SDK( like which one, >> the Sun site is confusing.) and JAI. > > Can you elaborate on this? I don't think you need to download JAI to > run GeoServer, right? (I'm no expert on this sort of thing.)
No, you don't, the pure java version of JAI and JAI Image I/O are included in the GeoServer install (whether it's installer, bin or war). But no native JAI and native JAI Image I/O, which are needed to get good WMS/coverage performance. Native JAI is kind of a bitch, as you're supposed to install it inside the JDK, so in a place where it influences every other application. I know there are some other apps (ESRI I believe) that stick an older JAI into the JDK, from that point onwards GeoServer stops working due to the version mismatch (the version installed in the JDK trumps the one in the application classpath). Nevertheless, just for Windows, just for the installer, we could also place JAI native elements in the package, and make sure they are visible to the Java dll loader. I believe, without being sure, that all it's needed is placing the natives into a directory that's pointed both by PATH and LD_LIBRARY_PATH env variables. This approach could work for the windows installer and for the .bin package, thought the .bin is platform independent, so we'd have to include the native versions for multiple platforms... nah, not worth the extra effort imho. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
