updated java.m4 build system to allow 1.6 java dialect
improve documentation