title: How to specify JVM for Groovy
body: <p>What JVM uses Groovy be default and how to specify another version?</p>
  
  <p>Output from my server:</p>
  
  <p><code>$ groovy --version
  Groovy Version: 2.4.5 JVM: 1.7.0_95 Vendor: Oracle Corporation OS: Linux
  $ java -version
  java version "1.8.0_05"
  Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
  Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)</code></p>