I am trying really hard to get a Ruby/Java bridge compiled and running on the Windows platform.
I've seen there are 3 Ruby/Java bridge projects: RJava (very obsolete), RJB, RJNI (most up to date) available, but all of them come in source code with native Ruby extensions that need to be compiled on the target platform.
I've tried compiling all of them under Windows XP with Visual C++ with no luck so far. They cannot find the Java library (java.dll) or the JNI include file (jni.h), which are all available and with paths properly configured.
So, if anyone has succeded in compiling any Java bridges on Windows (or could guide me to do that), please contact me at demetr...@interface-ti.com.br
Unfortunately Windows is a bit of a poor relation when it comes to alot of ruby extensions. There was talk a little while back of an 'A-Team' to compile and package ruby libraries for windows but I don't know how far they got.
IMHO, although there is alot of good work allready done, a lot more is needed for ruby to really kick off, I guess DHH ( rails guy ) is happy anyhow :-)
> I've seen there are 3 Ruby/Java bridge projects: RJava (very obsolete), > RJB, RJNI (most up to date) available, but all of them come in source > code with native Ruby extensions that need to be compiled on the target > platform.
I have successfully used RJB, although it still has some trouble using methods with complicated signatures. I was thinking of fixing that at some point, but didn't get very far.
> I've tried compiling all of them under Windows XP with Visual C++ with > no luck so far. They cannot find the Java library (java.dll) or the JNI > include file (jni.h), which are all available and with paths properly > configured.
If all was well configured, it would just have worked, wouldn't it ? ;) Have you also compiled Ruby with that same configuration ? I remember tweaking some paths while compiling rjb, but having compiled your ruby distro with the same compiler is the first precondition.
And there are certainly some people doing Ruby on windows, and there is something like an A-Team, except we're hard to contact ;).