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

James McMahon edited comment on BUILDR-655 at 1/29/13 1:00 AM:
---------------------------------------------------------------

I am running an older version of the OpenJDK I downloaded awhile ago,

openjdk version "1.7.0-u10-b08"
OpenJDK Runtime Environment (build 1.7.0-u10-b08-20120921)
OpenJDK 64-Bit Server VM (build 23.6-b03, mixed mode)

I am drawing a blank on how to switch back to the system JVM, I know there is a 
panel somewhere to do it, but can't find it.

I am using Ruby 1.9.3 installed from RVM,

ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.0]

JRuby still works fine, I haven't tried the JVM_LIB workaround yet.

EDIT: Oh this is why I can't find the Java preferences panel, 
http://reviews.cnet.com/8301-13727_7-57533880-263/java-preferences-missing-after-latest-os-x-java-update/
                
      was (Author: jamesmcmahon):
    I am running an older version of the OpenJDK I downloaded awhile ago,

openjdk version "1.7.0-u10-b08"
OpenJDK Runtime Environment (build 1.7.0-u10-b08-20120921)
OpenJDK 64-Bit Server VM (build 23.6-b03, mixed mode)

I am drawing a blank on how to switch back to the system JVM, I know there is a 
panel somewhere to do it, but can't find it.

I am using Ruby 1.9.3 installed from RVM,

ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.0]

JRuby still works fine, I haven't tried the JVM_LIB workaround yet.

                  
> 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

Reply via email to