Compatibility with openJDK

Hello, I use Linux Mint and I have installed:

openjdk version “1.8.0_191”
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

I can not get hibernate to work and after making several changes I suspect that it is a compatibility problem.

I use the latest version of hibernate.