|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
classpaths on Windows?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; s ee http://www.python.org/peps/pep-0263.html for details
Any ideas? Thanks, William ------------------------------------------------------------------------------ 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! http://p.sf.net/sfu/devconference _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: classpaths on Windows?On Wed, Oct 28, 2009 at 6:09 PM, william ratcliff
<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 <http://bugs.jython.org> Regards, -- Leo Soto M. http://blog.leosoto.com ------------------------------------------------------------------------------ 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! http://p.sf.net/sfu/devconference _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: classpaths on Windows?It was 2.5.1 final, so I've put in a bug report.
Thanks, William
On Wed, Oct 28, 2009 at 10:10 PM, Leo Soto M. <leo.soto@...> wrote:
------------------------------------------------------------------------------ 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! http://p.sf.net/sfu/devconference _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
|
|
Re: classpaths on Windows?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. /Tobias
On Thu, Oct 29, 2009 at 2:43 PM, william ratcliff <william.ratcliff@...> wrote: It was 2.5.1 final, so I've put in a bug report. ------------------------------------------------------------------------------ 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! http://p.sf.net/sfu/devconference _______________________________________________ Jython-users mailing list Jython-users@... https://lists.sourceforge.net/lists/listinfo/jython-users |
| Free embeddable forum powered by Nabble | Forum Help |