believe you need the 2.0b2 kit for this fix


Robert Mark Bram <>
Sent by:

10/25/2004 09:45 AM

beanshell <>
[Beanshell-users] Using Java classes in beanshell

Hi All!

I saw the release notes for 2.0b1 say that we can now use real Java
classes in the environment. Here is my test of this. Can anyone indicat
what I might be doing wrong?

bsh % pwd();

bsh % cat ("");
public class Test{

   public static void main (String [] args) {

      System.out.println ("In the main method");

   }  // end main method

   public void test(){

      System.out.println ("In the test method");

   }  // end test method

}  // end Test class

bsh % addClassPath("c:/temp");
bsh % bsh
// Error: Parser Error: Parse error at line 1, column 469.  Encountered: .
bsh %

Thanks for any advice!


Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124

This email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
Beanshell-users mailing list