Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do I need to install JAI when I use Geowebcache? Or can I just use one or the other? I've installed JAI and uses Geowebcache, I'm not sure if I take out the JAI step it would have given the same results.


share|improve this question
up vote 2 down vote accepted

GeoWebCache does not use JAI.

If you are using the GeoServer WMS to generate the tiles for GeoWebCache, then installing a native version of JAI would improve the WMS rendering performance. Keep in mind that if your tile set does not change after the initial rendering, then there isn't much of an advantage if you are willing to wait a bit longer to render the tiles for the first time.

share|improve this answer
I see, much clearer, thanks for that! – Yun Sep 21 '12 at 5:27

According to GeoServer's user manual, you have already installed the pure Java version of JAI:

«The Java Advanced Imaging API (JAI) is an advanced image manipulation library built by Oracle. GeoServer requires JAI to work with coverages and leverages it for WMS output generation. By default, GeoServer ships with the pure Java version of JAI, but for best performance, install the native JAI version in your JDK/JRE.

In particular, installing the native JAI is important for all raster processing, which is used heavily in both WMS and WCS to rescale, cut and reproject rasters. Installing the native JAI is also important for all raster reading and writing, which affects both WMS and WCS. Finally, native JAI is very useful even if there is no raster data involved, as WMS output encoding requires writing PNG/GIF/JPEG images, which are themselves rasters.»

Taken from GeoServer 2.3.x User Manual » Running in a Production Environment » Java Considerations

share|improve this answer
Thanks. I installed the Native JAI because they say it helps the performance. But I see now it won't make much difference – Yun Sep 21 '12 at 5:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.