Use standard windows server 2012 R2 image and setup JRE rather then using a JDK VM. JDK VMs are covered under a different license.