Thanks for all your suggestions guys. As you can see in the trace below I
tried them all but it still doesn't work. Do you think this is something I
should discuss on a Ruby list instead?

Kind regards,

Mark

----------

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>gem uninstall rjb

Select gem to uninstall:
 1. rjb-1.3.2-x86-mswin32-60
 2. rjb-1.3.8-x86-mswin32-60
 3. All versions
> 3

You have requested to uninstall the gem:
        rjb-1.3.2-x86-mswin32-60
atoulme-Antwrap-0.7.1 depends on [rjb (>= 1.0.3)]
buildr-1.4.6 depends on [rjb (= 1.3.2)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn]  Y
Successfully uninstalled rjb-1.3.2-x86-mswin32-60
Successfully uninstalled rjb-1.3.8-x86-mswin32-60

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>gem uninstall buildr
Remove executables:
        buildr

in addition to the gem? [Yn]  Y
Removing buildr
Successfully uninstalled buildr-1.4.6-x86-mswin32

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>gem install jrb
--platform mswin32
Successfully installed tilt-1.3.3
Successfully installed jrb-0.2.0
2 gems installed
Installing ri documentation for tilt-1.3.3...
Installing ri documentation for jrb-0.2.0...
Installing RDoc documentation for tilt-1.3.3...
Installing RDoc documentation for jrb-0.2.0...

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>gem install buildr
--platform mswin32
To get started run buildr --help
Successfully installed rjb-1.3.2-x86-mswin32-60
Successfully installed buildr-1.4.6-x86-mswin32
2 gems installed
Installing ri documentation for rjb-1.3.2-x86-mswin32-60...
Installing ri documentation for buildr-1.4.6-x86-mswin32...
Installing RDoc documentation for rjb-1.3.2-x86-mswin32-60...
Installing RDoc documentation for buildr-1.4.6-x86-mswin32...

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode)

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>ruby --version
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]

C:\Users\Mark Robert Coleman\Eclipse Workspace\Michel>buildr compile --trace
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/java/packaging.rb:62:
warning: parenthesize argument(s) for future version
(in C:/Users/Mark Robert Coleman/Eclipse Workspace/Michel, development)
** Invoke Jamie's Robot (first_time)
** Execute Jamie's Robot
** Invoke Jamie's Robot
** Invoke compile (first_time)
** Execute compile
Compiling Jamie's Robot
Compile needed because source file C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/src/Mock.java has no corresponding C:/Users/Mark Robert
Coleman/Eclipse Workspace/Michel/bin/classes/Mock.class
** Invoke Jamie's Robot:compile (first_time)
** Invoke Jamie's Robot:resources (first_time)
** Execute Jamie's Robot:resources
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/org/apache/ant/ant/1.8.0/ant-1.8.0.jar (first_time,
not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/bsh-core-2.0b4.jar/unknown/bsh-core-2.0b4.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/bsh-core-2.0b4.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/cglib-2.1_3-src.jar/unknown/cglib-2.1_3-src.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/cglib-2.1_3-src.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/cglib-nodep-2.1_3.jar/unknown/cglib-nodep-2.1_3.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/cglib-nodep-2.1_3.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-collections-3.2.1-javadoc.jar/unknown/commons-collections-3.2.1-javadoc.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-collections-3.2.1-javadoc.jar (first_time,
not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-collections-3.2.1-sources.jar/unknown/commons-collections-3.2.1-sources.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-collections-3.2.1-sources.jar (first_time,
not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-collections-3.2.1.jar/unknown/commons-collections-3.2.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-collections-3.2.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-io-2.1-javadoc.jar/unknown/commons-io-2.1-javadoc.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-io-2.1-javadoc.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-io-2.1-sources.jar/unknown/commons-io-2.1-sources.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-io-2.1-sources.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-io-2.1.jar/unknown/commons-io-2.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-io-2.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-lang3-3.0.1.jar/unknown/commons-lang3-3.0.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/commons-lang3-3.0.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/hamcrest-core-1.1.jar/unknown/hamcrest-core-1.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/hamcrest-core-1.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/hamcrest-library-1.1.jar/unknown/hamcrest-library-1.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/hamcrest-library-1.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jmock-2.5.1.jar/unknown/jmock-2.5.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jmock-2.5.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jmock-junit3-2.5.1.jar/unknown/jmock-junit3-2.5.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jmock-junit3-2.5.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jmock-junit4-2.5.1.jar/unknown/jmock-junit4-2.5.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jmock-junit4-2.5.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jmock-legacy-2.5.1.jar/unknown/jmock-legacy-2.5.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jmock-legacy-2.5.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jmock-script-2.5.1.jar/unknown/jmock-script-2.5.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jmock-script-2.5.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/jxfilewatcher-1.0.1.jar/unknown/jxfilewatcher-1.0.1.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/jxfilewatcher-1.0.1.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/local/objenesis-1.0.jar/unknown/objenesis-1.0.jar-unknown.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/lib/objenesis-1.0.jar (first_time, not_needed)
** Invoke C:/Users/Mark Robert Coleman/Eclipse Workspace/Michel/src
(first_time, not_needed)
Compile needed because source file C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/src/Mock.java has no corresponding C:/Users/Mark Robert
Coleman/Eclipse Workspace/Michel/bin/classes/Mock.class
** Execute Jamie's Robot:compile
mkdir -p C:/Users/Mark Robert Coleman/Eclipse Workspace/Michel/bin/classes
Compiling Jamie's Robot into C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/bin/classes
javac -classpath C:/Users/Mark Robert
Coleman/.m2/repository/org/apache/ant/ant/1.8.0/ant-1.8.0.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/bsh-core-2.0b4.jar/unknown/bsh-core-2.0b4.jar-unknown.jar;C:/Users/Mark
Robert
.jar-unknown.jar;C:/Users/Mark Robert
Coleman/.m2/repository/local/cglib-nodep-2.1_3.jar/unknown/cglib-nodep-2.1_3.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/commons-collections-3.2.1-javadoc.jar/unknown/co
eman/.m2/repository/local/commons-collections-3.2.1-sources.jar/unknown/commons-collections-3.2.1-sources.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/commons-collections-3.2.1.jar/unknown/commons-collections
/commons-io-2.1-javadoc.jar/unknown/commons-io-2.1-javadoc.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/commons-io-2.1-sources.jar/unknown/commons-io-2.1-sources.jar-unknown.jar;C:/Users/Mark
Robert Coleman/.
n.jar;C:/Users/Mark Robert
Coleman/.m2/repository/local/commons-lang3-3.0.1.jar/unknown/commons-lang3-3.0.1.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/hamcrest-core-1.1.jar/unknown/hamcrest-core-1.1.jar-unk
ary-1.1.jar/unknown/hamcrest-library-1.1.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/jmock-2.5.1.jar/unknown/jmock-2.5.1.jar-unknown.jar;C:/Users/Mark
Robert Coleman/.m2/repository/local/jmock-junit3-2.5.1.j
an/.m2/repository/local/jmock-junit4-2.5.1.jar/unknown/jmock-junit4-2.5.1.jar-unknown.jar;C:/Users/Mark
Robert
Coleman/.m2/repository/local/jmock-legacy-2.5.1.jar/unknown/jmock-legacy-2.5.1.jar-unknown.jar;C:/Users/Mark
Robert Co
.5.1.jar-unknown.jar;C:/Users/Mark Robert
Coleman/.m2/repository/local/jxfilewatcher-1.0.1.jar/unknown/jxfilewatcher-1.0.1.jar-unknown.jar;C:/Users/Mark
Robert Coleman/.m2/repository/local/objenesis-1.0.jar/unknown/objenesis-1.0.
ce/Michel/src -d C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/bin/classes -nowarn -g C:/Users/Mark Robert
Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/assertions/FileAsserts.java
C:/Users/Mark Robert Coleman/Eclips
k Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/carriers/RecorderBuilder.java
C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/carriers/Result.java C:/Users/Mark
Robert Coleman/Eclipse Workspace
s/Mark Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/filewatcher/WatcherWrapper.java
C:/Users/Mark Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/Michelle.java C:/Users/Mark Robert
Coleman/Eclipse Workspace
ers/Mark Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/Robot.java C:/Users/Mark Robert
Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/trigger/DirectoryWatcher.java
C:/Users/Mark Robert Coleman/Eclipse Workspace/Mi
k Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/trigger/Trigger.java C:/Users/Mark
Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/utils/ApacheFileUtilitiesWrapper.java
C:/Users/Mark Robert Coleman/Eclipse W
 Robert Coleman/Eclipse
Workspace/Michel/src/com/ud/robots/utils/FileUtils.java C:/Users/Mark
Robert Coleman/Eclipse Workspace/Michel/src/Mock.java
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/org/apache/ant/ant/1.8.0/ant-1.8.0.jar (not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/org/apache/ant/ant-launcher/1.8.0/ant-launcher-1.8.0.jar
(first_time, not_needed)
** Invoke C:/Users/Mark Robert
Coleman/.m2/repository/org/apache/ant/ant-trax/1.8.0/ant-trax-1.8.0.jar
(first_time, not_needed)
** Invoke
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/java
(first_time, not_needed)
Buildr aborted!
RuntimeError : can't create Java VM
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/java/rjb.rb:114:in
`load'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/java/rjb.rb:114:in
`load'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/java/compiler.rb:68:in
`compile'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/compile.rb:262:in
`initialize'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `call'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `execute'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:674:in
`invoke_with_call_chain'
C:/Ruby186/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:660:in
`invoke_with_call_chain'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:655:in
`invoke'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:326:in
`local_task'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:351:in
`[]'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:351:in
`local_projects'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:351:in
`each'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:351:in
`local_projects'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/project.rb:324:in
`local_task'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:674:in
`invoke_with_call_chain'
C:/Ruby186/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:660:in
`invoke_with_call_chain'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:655:in
`invoke'
C:/Ruby186/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:246:in
`top_level'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:246:in
`each'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:246:in
`top_level'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:535:in
`standard_exception_handling'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:237:in
`top_level'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:138:in
`run'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:535:in
`standard_exception_handling'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/lib/buildr/core/application.rb:135:in
`run'
C:/Ruby186/lib/ruby/gems/1.8/gems/buildr-1.4.6-x86-mswin32/bin/buildr:19
C:/Ruby186/bin/buildr:19:in `load'
C:/Ruby186/bin/buildr:19

---------

On 27 January 2012 20:36, Antoine Toulme <anto...@lunar-ocean.com> wrote:

> It also looks like you use a beta build of JDK7. I would use JDK6 with rjb
> unless you get a hint from the rjb website that they now support jdk7.
>
> If all fails, jruby should be pretty fast with JDK7 !
>
> On Fri, Jan 27, 2012 at 11:32, Rhett Sutphin <rh...@detailedbalance.net
> >wrote:
>
> > Hi,
> >
> > On Jan 27, 2012, at 12:33 PM, Christopher Tiwald wrote:
> >
> > > On Jan 27, 2012, at 1:19 PM, Mark - Mixtup wrote:
> > >
> > >> After getting buildr running on my Windows XP 32-bit laptop, I'm now
> > having
> > >> trouble running it on my Windows 7 64-bit home machine. I read
> somewhere
> > >> that running 64-bit Java against 32-bit Ruby would not work so I
> > updated my
> > >> JAVA_HOME variable to point to a 32-bit installation but the problem
> > >> persists.
> > >
> > > Hey Mark,
> > >
> > > Your issue is way beyond my knowledge of buildr, but have you tried
> > simply reinstalling it after updating the JAVA_HOME variable? Something
> like
> > >
> > > $ gem uninstall buildr
> > >
> > > then following the windows installation instructions here
> > https://buildr.apache.org/installing.html#windows?
> > >
> > > Just a thought. I use OSX myself, so I'm not familiar with the Windows
> > installation method. All the same it seems like a quick and dirty way to
> > avoid some debugging pain.
> >
> > This is what I would recommend also, except that the gem I would suggest
> > you should reinstall after changing JAVA_HOME is rjb. This is the
> low-level
> > library that enables invoking java code from C ruby.
> >
> > Rhett
> >
> > >
> > > --
> > > Christopher Tiwald
> > >
> > > Reliability Architect
> > > Salsa Labs, Inc.
> >
> >
>



-- 
---
Mark Coleman - +31(0)652134960 - Mixtup <http://www.mixtup.nl>
[image: 
Facebook]<http://www.facebook.com/pages/The-Mixtup-Project/161049465955>[image:
Youtube] <http://www.youtube.com/user/MixTupMovies>[image:
Vimeo]<http://vimeo.com/user4061445/videos>

Reply via email to