Fixed Java call not working.