add java version variable

the geerlingguy.java role expect this variable to exists