This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ruby and the fly likes Is JRuby compatibility to Ruby not very close? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Is JRuby compatibility to Ruby not very close?" Watch "Is JRuby compatibility to Ruby not very close?" New topic
Author

Is JRuby compatibility to Ruby not very close?

Steve Nicholson
Greenhorn

Joined: Nov 18, 2009
Posts: 3
I am writing a fairly complex application in JRuby using Eclipse. The problem is that when running the code no errors are raised in the ruby code and no java exceptions for java code.

This is adding a significant amount of development time, time that I really don't have and time lost if I just used MRI.

In fact, writing JRuby with these issues is probably slower than if I just used Java, which is shocking to me.

Is there some magic trick in getting ruby and java to behave properly? If it matters, it is a swing based app.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

This is the first time I've heard of anyone having this problem. It should dump errors to the console. The support for JRuby on NetBeans is a bit better than Eclipse, so if you aren't married to Eclipse...


A good workman is known by his tools.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is JRuby compatibility to Ruby not very close?
 
Similar Threads
If Ruby can load java libraries, why use JRuby?
What would you add to Java?
JRuby IDE support
I don't know Ruby on Rails: can RoR and Java be in the same app?
JRuby benefits?