How can I install Native JAI on Geoserver 2.20.x. & Geoserver 2.19.x

I'm currently setting up two Geoservers running on two separate Linux machines. One of the Geoservers is running version 2.20.2. and the other one is version 2.19.5.

I'm trying to install Native Jai and Native JAI ImageIO in order to increase the image handling performance.

Both machines are running Ubuntu 20.04.4 LTS.

java -version
openjdk version "11.0.14" 2022-01-18
OpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.14+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

So far I've followed these instructions: https://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html

Specifically this part: The instructions I followed

It's still not working.

echo $JAIHOME
/var/lib/JAI/jai-1_1_3/lib
echo $CLASSPATH
/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar
echo $LD_LIBRARY_PATH
.:/var/lib/JAI/jai-1_1_3/lib:/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar

This is the Geoserver status page in case there is any relevant information: Geoserver status

Any help would be greatly appreciated.

Upvotes: 1

Views: 501

Answers (1)

Ian Turton
Ian Turton

Reputation: 10976

I'm not sure why that section still appears in the manual - it is no longer needed or recommended, but is clearly marked as outdated.

Upvotes: 0

Related Questions