buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spiewak" <djspie...@gmail.com>
Subject ::RJB.load on Apple's Java 6
Date Thu, 08 Jan 2009 17:41:04 GMT
I'm consistently getting the following error when my $JAVA_HOME points to
Apple's JDK version 1.6:

can't create Java VM
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/java/rjb.rb:114:in
`load'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/java/rjb.rb:114:in
`load'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/java/packaging.rb:578:in
`before_define'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:631:in
`call'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:631:in
`call_callbacks'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:631:in
`each'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:631:in
`call_callbacks'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:216:in
`send'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:216:in
`define'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `call'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:615:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:624:in
`execute'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:146:in
`switch_to_namespace'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:623:in
`execute'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:637:in
`invoke_with_call_chain'
/opt/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:623:in
`invoke_with_call_chain'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:618:in
`invoke'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:400:in
`to_proc'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:281:in
`each'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:281:in
`projects'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:862:in
`projects'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:407:in
`raw_load_buildfile'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:218:in
`load_buildfile'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in
`standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:213:in
`load_buildfile'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:137:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:503:in
`standard_exception_handling'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in
`run'
/opt/local/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19
/opt/local/bin/buildr:19:in

Of moderate interest is the possibly-related fact that I get the same error
with SoyLatte.  Apple's JDK 1.5 works fine.

I've Googled until my fingers went numb to no avail.  Any idea what might be
going on here?

Daniel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message