BT

Indispensable Tips on Using Java Classes in JRuby

| by Shane Witbeck Follow 0 Followers on Sep 19, 2007. Estimated reading time: less than one minute |
Eric Armstrong, a Document Systems Architect at Sun Microsystems, recently wrote some great tips on calling Java code from JRuby in his post "Using Java Classes in JRuby". In his personal notes which he composed from his own research and experimentation, he describes several tips on the following topics:

  • The proper way to include Java in JRuby.
  • Including class names and referencing them.
  • Accessing external (or third party) classes including how to add them to the classpath.
  • Implementing Java interfaces in JRuby.

As JRuby matures into a viable technology it's sometimes hard to find information and tips about how to use it effectively. One of JRuby's committers, Charles Nutter, eluded to one reason why there still isn't formal information about JRuby by saying "Good authors do not have time to be good developers."

As documentation and best practices matures along with new technologies such as JRuby, tips from members of the community are indispensable.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss
BT