compiling SimpleEmbedded.java (JPython1.1)

Robert W. Bill rbill at digisprings.com
Sun Sep 10 16:54:03 EDT 2000


On Sun, 10 Sep 2000, Marko Kasovic wrote:
> hi.
> i'm trying to compile it (located in demo/embed folder)
> and all i get are messages that it can't find required packages:
> 
> org.python.util.PythonInterpreter
> org.python.core.*
> 
> i thought that after succesful installation of jpython this should work
> fine.
> if someone knows the solution, please help.

The CLASSPATH needs to include jpython.jar.  This jar file
includes org.python.core.* and org.python.util.PythonInterpreter.  
A quick fix is:
javac -classpath /path/to/jpython.jar SimpleEmbedded.java






More information about the Python-list mailing list