I think Mikael Rundqvist (ERA) wrote:
> private void startJessConsole()
> {
> Rete rete=new Rete();
> Console console=new Console("My Console",rete);
> String[] args=new String[1];
> args[0]=new String();
> console.execute(args);
> }
You're starting jess.Console with one zero-length argument; most
likely Jess is reporting an IOException thinking the zero-length
argument is intended to be a filename. You ought to use a zero-length
array here;
console.execute(new String[0]);
>
>
> Finally when I try to start the Console from a main method everything works fine.
>
> I run jess60b3.
>
> /best regards
>
> Mikael Rundqvist
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------