Use standard windows server 2012 VM image and configure JDK. The JDK VM image in azure gallery is not covered under the regular license.

Formatting fixes.