All Macs have that (I use a Mac). I don't run into that problem though. So you are walking through the engines list?
On 2013-08-07, at 11:19 AM, Kasper Nielsen <[email protected]> wrote: > 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 >
