My.openhab configuration in OH2

Hello community,
I have installed a new openhab2 install on a RPi2. Everything works fine and I have installed a few add-ons and can talk to the first devices.

However, the my.openhab does not appear to work. I have found UUID and Secret on the installation and entered them on my.openhab.org.

The my.openhab website shows that “You are running openhab 1.x” which is not correct.

Is there a step that I missed? I have not really found a step-by-step guide but it seems that copying UUID and Secret
should be it, right?

Cheers
David

The problem was the old Java 8 version.

I followed the following post and the issues is gone: