Now I've found out something interesting. My java installation isn't found because my JAVA_HOME points to /usr/lib/java instead of /usr/lib/java/ (note the trailing slash).
The line JAVA_INCLUDE=`find $JDK_DIR -name jni.h | grep -vi old | sed -e 's/\/jni\.h//'` can't find anything because the "find" command does not work without the trailing slash. Everything compiles fine now without modifications, but when I try to start aolserver I get this: Notice: ModuleInit: nsjava ENABLED registerTclJavaFunctions: registering commands /server.sh: line 3: 28177 Segmentation fault /usr/local/aolserver/bin/nsd -tf /usr/local/aolserver/server.tcl -u nsadmin regards, wiwo -- Digital Concepts Ideen-Konzepte-Lösungen [EMAIL PROTECTED] www.digital-concepts.com Mobil: +43 699 / 20 88 13 51 Büro: +43 732 / 77 27 27