[
https://issues.apache.org/jira/browse/BUILDR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932173#action_12932173
]
Rhett Sutphin commented on BUILDR-549:
--------------------------------------
Just to be clear, this is definitely an RJB issue, not a buildr issue. You can
reproduce it with just
$ ruby -rrubygems -e 'require "rjb"; Rjb::load'
-e:1:in `load': can't create Java VM (RuntimeError)
from -e:1
The question is what buildr needs to do to get a functioning version of rjb on
OS X. I'm still seeing the problem using rjb 1.3.2, so I'm trying to figure
out if there's also an environmental component.
> Buildr cannot create a JVM using MRI on OS X 10.6 with Java Update 3 installed
> ------------------------------------------------------------------------------
>
> Key: BUILDR-549
> URL: https://issues.apache.org/jira/browse/BUILDR-549
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.4.1, 1.4.2, 1.4.3
> Environment: OS X 10.6.5 with Java Update 3 for OS X 10.6; tested
> with 1.8.7-p174 and 1.8.7-p302, but probably any MRI will have this problem
> Reporter: Rhett Sutphin
> Attachments: buildfile, trace.txt
>
>
> Java Update 3 for OS X changed the way the JDK is installed on OS X and, in
> the process, broke RJB. With the current trunk, buildr's specs will not run.
> They give the error "RuntimeError : can't create Java VM". Buildfiles which
> invoke java have the same problem.
> Allegedly, upgrading to rjb 1.3.2 will fix this problem. My initial efforts
> in this direction have not been successful. I'll investigate further and
> update this ticket.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.