import java classes in beanshell script

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

import java classes in beanshell script

ccn79
I have the follow problem:

I must lunch the file Othello.java from start.bsh beanshell script.
start.bsh is locate in the same Othello.java and Othello.class directory.

start.bsh content is:

Othello othello = new Othello();
importObject( othello );
start();

It doesn't work.
Why?
Thank you,
best regards,
Cesare