On Wed, Aug 7, 2013 at 2:13 PM, Jim Laskey (Oracle) <[email protected] > wrote:
> Kasper, > > > - Check to see if you have other script engines installed that might > trigger a GUI. > > Yup, it was this one. I'm on OSX and http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/690161232823/src/macosx/classes/apple/applescript/AppleScriptEngineFactory.java has a call to java.awt.Toolkit.getDefaultToolkit(); in a static constructor. So no way to create a new ScriptEngineManager() without initializing AWT on OSX. Looks like a bug to me? - Kasper
