Freezing Jython PY scripts

Maan Hamze mmhamze at
Sun Sep 2 06:43:17 CEST 2001

I need to be able to create a Jython compiled JAR file that can be run on a
PC without Jython on it.
With I am compiling with
  jythonc -j
to create Test.jar
I have the classpath set correctly to '.' and jython.jar is included in the
classpath through jythonc.  And jython is using jave.exe from the Sun JRE.
However when I run Test.jar:
java -jar Test.jar
I am getting the error message due to a class not found:
what am I doing wrong?

More information about the Python-list mailing list