add java version variable

the geerlingguy.java role expects this variable to exists