Ruby/Java Bridge running on Windows

Hi folks,

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
demetrius@interface-ti.com.br

Thanks a lot,
Demetrius

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 :slight_smile:

Hi there,

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 ? :wink:
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 ;).

kaspar

···

--
code manufacture & ruby lab at tua.ch - und andere Domains günstig und einfach online kaufen auf top-domains.ch