AppleScript script engine

Scott Palmer swpalmer at gmail.com
Sat Feb 15 10:28:01 PST 2014


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" <mik3hall at gmail.com> wrote:

> On Feb 15, 2014, at 11:00 AM, Scott Palmer <swpalmer at gmail.com> 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 my bash profile
> jdkhome=`/usr/libexec/java_home -v 1.7`
> alias jrunscript7=$jdkhome/bin/jrunscript
>
> I'm a little leery of using JAVA_HOME having a number of times seen people
> have problems they couldn't figure out that turned out to be because they
> JAVA_HOME set and forgot about it.
>
> jrunscript7 -q
> Language ECMAScript 1.8 implemention "Mozilla Rhino" 1.7 release 3
> PRERELEASE
>
> But it still doesn't work. I guess I'd better figure out the resources
> configuration file Alan Bateman mentioned.
>
> Michael Hall
>
> trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
>
> HalfPipe Java 6/7 shell app
> http://www195.pair.com/mik3hall/index.html#halfpipe
>
> AppConverter convert Apple jvm to openjdk apps
> http://www195.pair.com/mik3hall/index.html#appconverter
>
>
>
>
>
>


More information about the macosx-port-dev mailing list