As a workaround you could try:
jython -J-classpath=jice.jar

That might work for you until we get issue1498 resolved. I don't have windows so I can't test it, but it should work.


On Thu, Oct 29, 2009 at 2:43 PM, william ratcliff <> wrote:
It was 2.5.1 final, so I've put in a bug report.


On Wed, Oct 28, 2009 at 10:10 PM, Leo Soto M. <> wrote:
On Wed, Oct 28, 2009 at 6:09 PM, william ratcliff
<> wrote:
> Hi!  I have a hopefully quick question.  If I run jython under linux (fc11)
> or MacOS then something like:
> jython -J-classpath jice.jar
> works great and I can use the classes in jice.jar within python.  However,
> if I try the same command under windows, I get an error:
>   File "<string>", line None
> SyntaxError: Non-ASCII character in file 'jice.jar', but no encoding
> declared;

Looks like Jython thinks that jice.jar is the name of the script to
execute, which is wrong. Are you using 2.5.1? If so, please file a bug
on <>

Leo Soto M.

Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
Jython-users mailing list