[SOLVED] Myopenhab stays offline ubuntu server 18.04LTS

Hello,

I moved openhabian from a raspberry pi to a shuttel barebone pc running ubuntu server 18.04LTS installed fresh openhabian manualy.Everything works flawless.
Just myopenhab stays offline i try everything uuid en secret or correct java version is correct i installed de myopenhabcloud connector configured notifications en remote access and there or no error logs?I can log in de myopenhab page and it says Your openHAB is not online. Please check if your installation is running or recheck the openHAB settings in your account.
is there someone who has an idea what this can be?

The problem seem to be an older java version that was not removed.

$dpkg-query -W -f=’${binary:Package}\n’ | grep -E -e ‘^(ia32-)?(sun|oracle)-java’ -e ‘^openjdk-’ -e ‘^icedtea’ -e ‘^(default|gcj)-j(re|dk)’ -e ‘^gcj-(.*)-j(re|dk)’ -e ‘^java-common’ | xargs sudo apt-get -y remove
sudo apt-get -y autoremove

Removed everything from java and i did a new install.
Now myopenhab is online.