You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2012/10/05 23:56:03 UTC

[jira] [Closed] (BUILDR-655) Alternative JVMs not working under OsX

     [ https://issues.apache.org/jira/browse/BUILDR-655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-655.
-------------------------------

    Resolution: Fixed
      Assignee: Peter Donald

Fixed in 1.4.8 - a work around for 1.4.7 is to set the JVM_LIB environment variable like 

export JVM_LIB=$JAVA_HOME/jre/lib/server/libjvm.dylib
                
> Alternative JVMs not working under OsX
> --------------------------------------
>
>                 Key: BUILDR-655
>                 URL: https://issues.apache.org/jira/browse/BUILDR-655
>             Project: Buildr
>          Issue Type: Bug
>          Components: Compilers
>    Affects Versions: 1.4.7
>         Environment: Mac OsX version 8.2, Ruby 1.9.3, RVM
>            Reporter: James McMahon
>            Assignee: Peter Donald
>             Fix For: 1.4.8
>
>
> Buildr under OsX doesn't seem to respect alternative JVMs defined by the Java Preferences GUI and the JAVA_HOME enviroment variable.
> After attempting to switch over to a 1.7 JVM I was unable to comple my code, Buildr gives a 'javac: invalid source release: 1.7' error. When I disable the system JVM (leaving just the alternative JVM) it gives a 'JavaVM: requested Java version ((null)) not available. Using Java at "" instead.' error.
> Antoine Toulme on Stackoverflow suggested that could be an issue with Buildr not respecting JAVA_HOME on Mac OsX and asked me to create this issue.
> More details can be found at, http://stackoverflow.com/questions/12587089

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira