Issue #7683 has been updated by arton (Akio Tajima).

Category changed from core to misc

Thanks for using Ruby and Rjb and sorry for the inconvenience.

This was caused Rjb's gem packagging problem. 
Detail: Rjb 1.4.5 was bundled with Java-Ruby proxy class compiled by JDK 1.7. So Rjb was internally crashed with version mismatch error.

I wonder if you tried newer Rjb gem 1.4. 6 it was bundled with JDK 1.5 binary or manually compile ext/RBridge.java and copy its class file into data/rjb/jp/co/infoseek/hp/arton/rjb (manually installation is not recommanded).


----------------------------------------
Bug #7683: Rjb::load Segmentation fault windows
https://bugs.ruby-lang.org/issues/7683#change-36512

Author: chencc98 (xianpeng chen)
Status: Feedback
Priority: Normal
Assignee: arton (Akio Tajima)
Category: misc
Target version: 1.9.3
ruby -v: ruby 1.9.3p125 (2012-02-16) [i386-mingw32


i installed RoR. rails is 3.2.1 and ruby is ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
my machine is windows xp sp4.
i set my JAVA_HOME to c:\jdk150_12 and then install rjb by gem install rjb
the installation looks good. rjb is 1.4.3
but below code fails on my pc.
require 'rjb'
Rjb::load

please help.


-- 
http://bugs.ruby-lang.org/