Skip to content

Instantly share code, notes, and snippets.

@djangofan
Created June 5, 2012 16:37
Show Gist options
  • Save djangofan/2876130 to your computer and use it in GitHub Desktop.
Save djangofan/2876130 to your computer and use it in GitHub Desktop.
Run groovy from 2 different JDK distros
@echo off
set JAVA_HOME1=C:\jdk1.6.0_31
set JAVA_HOME2=C:\jdk1.6.0_16
ECHO Listings from %JAVA_HOME1%
groovy.exe --javahome %JAVA_HOME1% SecurityListings.groovy > 31.result.txt
ECHO Listings from %JAVA_HOME2%
groovy.exe --javahome %JAVA_HOME2% SecurityListings.groovy > 16.result.txt
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment