buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Spiewak" <djspie...@gmail.com>
Subject Re: ::RJB.load on Apple's Java 6
Date Thu, 08 Jan 2009 18:21:11 GMT
Actually no, Apple's JDK 6.0 is 64bit only; they have not (and will not)
provide a 32bit version.  The only 32bit version of Java 6 on Mac is
SoyLatte, which is a port of OpenJDK for BSD.

Daniel

On Thu, Jan 8, 2009 at 12:13 PM, Antoine Toulme <antoine@lunar-ocean.com>wrote:

> I confirm Java 6 on the Mac is 64 bits only. Sorry, don't know how to
> install for 64 bits, but I know it can be done.
>
> On Thu, Jan 8, 2009 at 7:06 PM, Daniel Spiewak <djspiewak@gmail.com>
> wrote:
>
> > Oy, I wonder if that's the problem.  Makes sense.  Checking the
> compilation
> > mode of the ruby executable gives me the following 32bit signature:
> >
> > $ file `which ruby`
> > /opt/local/bin/ruby: Mach-O executable i386
> >
> > Does anybody know how to make MacPorts compile Ruby 64bit instead of
> 32bit?
> >
> > Daniel
> >
> > On Thu, Jan 8, 2009 at 12:01 PM, Alex Boisvert <boisvert@intalio.com>
> > wrote:
> >
> > > I don't know if it's going to be helpful but that's the same error I
> get
> > > when mixing 64-bit Ruby with 32-bit Java (or *vice versa*).
> > >
> > > alex
> > >
> > > On Thu, Jan 8, 2009 at 9:41 AM, Daniel Spiewak <djspiewak@gmail.com>
> > > wrote:
> > >
> > > > 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