Let the java module fail

This was failing on solaris, which doesn't need the module.