Unable to get Applescript Engine on some computers

Paul Taylor paul_t100 at fastmail.fm
Thu Feb 27 02:52:26 PST 2014

In my code I have:

ScriptEngineManager mgr = new ScriptEngineManager();
ScriptEngine engine = mgr.getEngineByName("AppleScript");

this works fine for me, but for some customers in returns null for engine.

We are using Java 1.8.0 25.0-b69 64bit (build 129)

Customer was on Mac OS X 10.9.2 x86_64, I've upgraded to same version 
still don't get the problem.

Applescript does exist because earlier in my code I run some applescript 
using osascript and Runtime class and that works fine

Any ideas ?


More information about the macosx-port-dev mailing list