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!
whereis java
orjava -version
to be surejava
is still where it should be? – George Udosen Dec 04 '16 at 20:31minecraft
– George Udosen Dec 04 '16 at 20:52sudo apt-add-repository ppa:webupd8team/java
, thensudo ap-get update
and finallysudo apt-get install oracle-java<version-of-java>-installer
– George Udosen Dec 04 '16 at 20:59