Ruby/Java Bridge running on Windows

D

Dema

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
(e-mail address removed)

Thanks a lot,
Demetrius
 
L

Lyndon Samson

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 :)
 
K

Kaspar Schiess

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 ? ;)
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top