fixed compiled extension for java