only build on OpenJDK

Signed-off-by: Sebastian Hoß <mail@shoss.de>