Install JDK before using JAR in spec