You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Alex Boisvert <al...@gmail.com> on 2015/06/14 17:15:31 UTC

Buildr & OSX Yosemite (10.10.3)

Since upgrading to OSX Yosemite (10.10.3), whenever I run buildr I get a
popup that says:

To open "This Java application" you need to install the legacy Java SE 6
runtime.
[More info...] [Ok]

My environment remains the same (AFAIK) and I have JAVA_HOME set to:

$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/

Any ideas?

Re: Buildr & OSX Yosemite (10.10.3)

Posted by Alex Boisvert <al...@gmail.com>.
Thanks.  I fixed my issue by creating the following two empty directories:

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk
/System/Library/Java/Support/Deploy.bundle

(The hint came from http://stackoverflow.com/a/29800140/199174)

On Sun, Jun 14, 2015 at 11:09 AM, Michael <mi...@gmail.com> wrote:

> I stumbled upon this the other day. The installers for Mac (from Oracle)
> have JNI disabled. I don't have a link handy (on mobile), but tweaking the
> permission to include JNI fixes the popup.
> On Jun 14, 2015 11:15 AM, "Alex Boisvert" <al...@gmail.com> wrote:
>
> > Since upgrading to OSX Yosemite (10.10.3), whenever I run buildr I get a
> > popup that says:
> >
> > To open "This Java application" you need to install the legacy Java SE 6
> > runtime.
> > [More info...] [Ok]
> >
> > My environment remains the same (AFAIK) and I have JAVA_HOME set to:
> >
> > $ echo $JAVA_HOME
> > /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/
> >
> > Any ideas?
> >
>

Re: Buildr & OSX Yosemite (10.10.3)

Posted by Michael <mi...@gmail.com>.
I stumbled upon this the other day. The installers for Mac (from Oracle)
have JNI disabled. I don't have a link handy (on mobile), but tweaking the
permission to include JNI fixes the popup.
On Jun 14, 2015 11:15 AM, "Alex Boisvert" <al...@gmail.com> wrote:

> Since upgrading to OSX Yosemite (10.10.3), whenever I run buildr I get a
> popup that says:
>
> To open "This Java application" you need to install the legacy Java SE 6
> runtime.
> [More info...] [Ok]
>
> My environment remains the same (AFAIK) and I have JAVA_HOME set to:
>
> $ echo $JAVA_HOME
> /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/
>
> Any ideas?
>