Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 10:02 AM, Alan Bateman wrote: > On 15/02/2014 14:27, Michael Hall wrote: >> : >> Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's >> 1.7.0_51, his and Alan's look to be later versions, so we might assume more >> recent builds have this fixed? >> > I

Re: AppleScript script engine

2014-02-15 Thread Scott Palmer
If I don't define JAVA_HOME I automatically get the latest jdk when I run commands. Something is handling that. I think it is the commands that are linked to - they don't run java 6 automatically. Scott On Feb 15, 2014 1:01 PM, "Michael Hall" wrote: > On Feb 15, 2014, at 11:00 AM, Scott Palmer

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 11:00 AM, Scott Palmer wrote: > > Maybe, but I don't think so. I think that stuff is part of the magic that > makes JAVA_HOME work without messing around with the path. > It looked like most of the java commands default link to the Apple Java 6 versions. I set up this in m

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 11:00 AM, Scott Palmer wrote: > Maybe, but I don't think so. I think that stuff is part of the magic that > makes JAVA_HOME work without messing around with the path. > > I think OpenJDK has a JIRA bug system now, but the usual place at oracle.com > still works. > > Scott

Re: AppleScript script engine

2014-02-15 Thread Scott Palmer
On Feb 15, 2014 11:10 AM, "Michael Hall" wrote: > I think that may also explain my remaining jrunscript problem. > ls -l /usr/bin/jrunscript > lrwxr-xr-x 1 root wheel 80 Mar 12 2013 /usr/bin/jrunscript -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/jrunscript > I wil

Re: AppleScript script engine

2014-02-15 Thread Alan Bateman
On 15/02/2014 14:27, Michael Hall wrote: : Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's 1.7.0_51, his and Alan's look to be later versions, so we might assume more recent builds have this fixed? I took a quick poke around and I now see that the reason AppleScript is

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 10:02 AM, Alan Bateman wrote: > On 15/02/2014 14:27, Michael Hall wrote: >> : >> Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's >> 1.7.0_51, his and Alan's look to be later versions, so we might assume more >> recent builds have this fixed? >> > I

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 8:00 AM, Michael Hall wrote: > I have had partial success on this based on this Stack Overllow post… > http://stackoverflow.com/questions/10054252/trying-to-use-rhino-getenginebynamejavascript-returns-null-in-openjdk-7 > Sorry again, one more correction, based on this URL… ht

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
On Feb 15, 2014, at 8:00 AM, Michael Hall wrote: > I'm not sure if Robert Palmer and Alan Bateman somehow just missed out on > this problem or had a easier or better solution? If so I'd be interested in > hearing it. Sorry Scott, put you in Led Zeppelin there for a bit. Except for Scott's 1.7

Re: AppleScript script engine

2014-02-15 Thread Michael Hall
I have had partial success on this based on this Stack Overllow post… http://stackoverflow.com/questions/10054252/trying-to-use-rhino-getenginebynamejavascript-returns-null-in-openjdk-7 I had updated my _40 era jdk build to a nice new 1.7.0_51-b13 which had unfortunately done me no good. So I add

Re: AppleScript script engine

2014-02-15 Thread Alan Bateman
On 14/02/2014 21:17, Michael Hall wrote: On Feb 13, 2014, at 7:49 PM, Michael Hall wrote: Is the AppleScript engine no longer not even the default one but no longer shipped? Not seeing a reply here. Is there a more appropriate forum for OS X specific java questions now? I just checked my lo