RE: [jruby-dev] Working with Java classes in JRuby

2007-08-23 Thread Peter K Chan
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, August 23, 2007 6:33 PM To: [email protected] Subject: Re: [jruby-dev] Working with Java classes in JRuby Much appreciate the follow up, Peter. I'm beginning to penetrate to the second point. First, the invocati

Re: [jruby-dev] Working with Java classes in JRuby

2007-08-23 Thread Eric Armstrong
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 7:35 PM To: [email protected] Subject: Re: [jruby-dev] Working with Java classes in JRuby Hi, Peter. Your comments match my expectation, based on what I had read. But what I found was that: a) Putting the jar in the CLASSP

RE: [jruby-dev] Working with Java classes in JRuby

2007-08-22 Thread Peter K Chan
long syntax, as the second case above. Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 7:35 PM To: [email protected] Subject: Re: [jruby-dev] Working with Java classes in JRuby Hi, Peter. Your comments match my expectation, based

Re: [jruby-dev] Working with Java classes in JRuby

2007-08-22 Thread Eric Armstrong
you need to refer to them by name explicitly. Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 7:10 PM To: jruby-dev Subject: [jruby-dev] Working with Java classes in JRuby http://java.sun.com/developer/technicalArticles/scri

RE: [jruby-dev] Working with Java classes in JRuby

2007-08-22 Thread Peter K Chan
on and can figure out the type by itself. You only need to include Java classes if you need to refer to them by name explicitly. Peter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 7:10 PM To: jruby-dev Subject: [jruby-dev] Working

[jruby-dev] Working with Java classes in JRuby

2007-08-22 Thread Eric Armstrong
http://java.sun.com/developer/technicalArticles/scripting/jruby/ http://www.headius.com/jrubywiki/index.php/Calling_Java_from_JRuby After examining those writeups and doing a lot of experimenting, I've been able to make 3rd party Java classes accessible by doing the following: 1. Putting the