Fixed Java failing to run