Use JRE for Spark base container
Use JDK for Spark shell/client