[ 
https://issues.apache.org/jira/browse/BUILDR-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932330#action_12932330
 ] 

Dmitri Dolguikh commented on BUILDR-549:
----------------------------------------

I managed to get buildr  1.4.3 to work under OS X 10.6.4, with Java Update 3 
installed:

 - install Java Developer Package for Mac OS X 10.6 Update 3 (can be downloaded 
from http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/downloads, 
no direct link available)
 - change buildr's spec file to require rjb >= 1.2.5
 - install latest rjb gem
 - point JAVA_HOME to /System/Library/Frameworks/JavaVM.framework (I don't 
think it's necessary)
 - in above mentioned directory, create a symlink JavaVM and point it to 
Versions/Current/JavaVM (may not be necessary after developer package 
installation)



> 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.

Reply via email to