…1.6.0 26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
See this tutorial for setting up minecraft , but if you are playing with the Minecraft 1.0 client (at least of today) you'll need to install a dev build which you can find on the ci server . I found that I needed to run the server, stop it and run it again. Now it seems to work fine.
bq. jruby 1.5.6 (ruby 1.8.7 patchlevel 249) ( 2010-12-03 9cf97c3) ( Java HotSpot(TM) 64-Bit Server VM 1.6.0_23) [amd64-java]
*Note:* JRuby currently only provides a JRuby+JRE installer for the 32-bit JRE. They are working on a 64-bit version but its not quite ready yet, but the manual steps above to install each part separately will achieve the same result.
h2. Open Source at Work
After learning about the JRuby compatibility, I got to work on testing Vagrant on Windows…
jruby 1.5.6 (ruby 1.8.7 patchlevel 249) ( 2010-12-03 9cf97c3) ( Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) ( 2011-01-10 769f847) ( Java HotSpot(TM) Client VM 1.6.0 18) [ Windows 7-x86-java] Ubuntu 10.04 ( VirtualBox) ( RVM with GCC 4.4.3-4ubuntu5) :
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
ruby 1.9.3dev (2010-12-13 trunk 30194) [i686-linux] Using sudoku-solver.rb …
jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) ( Java HotSpot(TM) 64-Bit Server VM 1.6.0_17) [ x86 64-java]
Dor-Kalevs-MacBook-Pro:~ dorkalev$ irb
jruby-1.4.0 > class Koko
jruby-1.4.0 ?> end
=> nil
jruby-1.4.0 > a = Time.now; 1000000.times { Koko.new }; Time.now-a
=> 1.158
jruby-1.4.0 > a = Time.now; 1000000.times { Koko.new }; Time.now-a
=> 1.185
jruby-1.4.0 > class Koko
jruby-1.4.0 ?> …