1

I've been running a minecraft server on ubuntu for some time. This morning, I updated to 16.04 and the server won't launch anymore. The error I'm getting in the terminal is:

bash:/usr/bin/java: No such file or directory

What I've done since getting the error:

sudo apt-get install default-java

didn't work.

sudo apt-get install openjdk-8-jre

this didn't work either. I saw someone on askubuntu suggesting the following:

sudo apt-get install libc6-i386

Tried it and it didn't work either. I'm kind of just throwing stuff at the wall until something sticks, which I know isn't the right way to go about this!

I'm not quite sure what to try next, can someone give me a hand? Thanks, all!

George Udosen
  • 37,534
Josh
  • 154

1 Answers1

2

Purge all java packages that are installed already by following the instructions here: askubuntu.com/questions/84483/how-to-completely-uninstall-j‌​ava

Then, do the following to install Oracle's java:

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java<version-of-java>-installer
George Udosen
  • 37,534