Minor fix for JAVA bat variable.