0

got tasked to learn beanshell. so here i am trying to set up my first example using this tutorial

I downloaded the jar file from here like suggested, and placed it in my C:\lib folder, because it is the closest to the C:\libs that the tutorial suggested.

I ran the following in the command prompt and i get an Exception in thread "Main Thread" java.lang.NoClassDefFoundError: bsh/Interpreter

My current environment is geared for Struts1.X/Spring/Hibernate in Win XP. Any ideas why?

gabybaby
  • 45
  • 1
  • 7

1 Answers1

0

I was able to run it as follows, assuming I am in a command prompt in c:\lib

java -cp . -jar bsh-2.0b2.jar
GaryMcM
  • 425
  • 3
  • 9
  • i was using `.0b4.jar` from the download section. perhaps i should get back to using `.0b2.jar` instead for the GUI console. in the meantime i have been using `java -Xrs -Xverify:none -cp bsh-2.0b4.har bsh.Interpreter` – gabybaby Jan 17 '13 at 14:23
  • The name of the jar file is all that is different. Just sub your own. Seem my comment on you other question also. – GaryMcM Feb 01 '13 at 12:51