Skip to content

Instantly share code, notes, and snippets.

@seanf
Created July 18, 2016 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save seanf/a11e2079f643a72a96d361a1d2b4b243 to your computer and use it in GitHub Desktop.
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