ns_section "ns/server/${server}/modules"
in /home/aolserver/nsd.tcl.
The only module I know uses nsjava is webmail which doesn't work so well anyway, I believe.