Java Advanced Imaging (JAI) is a library developed by Oracle for advanced image manipulation. GeoServer can run without it, as it is shipped with a pure Java version of JAI. Installing JAI greatly improves performance when working with images, that is, raster format data. If you don't use spatial raster data, GeoServer works with image formats when you ask for a map, for example, in a WMS GetMap
request, so it is really worthwhile to have it on your production site:
- Download the proper package for your system, Linux or Windows, from http://download.java.net/media/jai/builds/release/1_1_3/ as follows:
$ wget http://download.java.net/media/jai/
builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz
- Extract the file into a temporary directory:
$ tar xfz jai-1_1_3-lib-linux-amd64.tar.gz
- Move JAR files into the
JDK/JRE lib/ext
folder:
$ mv ./jai-1_1_3/lib/*.jar $JAVA_HOME/jre/lib/ext/ && \
- Move
so
files into theJDK/JRE lib/amd64
folder:
$ mv ./jai-1_1_3/lib/*.so...