Skip to content

Instantly share code, notes, and snippets.

@seanf
Created July 18, 2016 06:01
Show Gist options
  • Select an option

  • Save seanf/a11e2079f643a72a96d361a1d2b4b243 to your computer and use it in GitHub Desktop.

Select an option

Save seanf/a11e2079f643a72a96d361a1d2b4b243 to your computer and use it in GitHub Desktop.
Groovy script to list installed script engines
import javax.script.ScriptEngineManager;
def fs = new ScriptEngineManager().getEngineFactories()
fs.forEach{
println "Script Engine: " + it.engineName
println "Names: " + it.names
println()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment