Hi,
 
Why I can't use the PythonInterpreter Class????
 
C:\Arquivos de programas\Jython\Demo\embed>java SimpleEmbedded
Exception in thread "main" java.lang.NullPointerException
        at org.python.core.PyJavaClass.lookup(PyJavaClass.java:43)
        at org.python.core.PyObject.<init>(PyObject.java:46)
        at org.python.core.PySingleton.<init>(PySingleton.java:8)
        at org.python.core.PyNone.<init>(PyNone.java:10)
        at org.python.core.PySystemState.initStaticFields(PySystemState.java:396 )
        at org.python.core.PySystemState.initialize(PySystemState.java:375)
        at org.python.core.PySystemState.initialize(PySystemState.java:348)
        at org.python.core.PySystemState.initialize(PySystemState.java:341)
        at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:63)
        at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:47)
        at SimpleEmbedded.main(SimpleEmbedded.java:6)
 
Java Version -> 1.4.2
Jython 2.1 on java1.4.2 (JIT: null)
Sorry, my english is very bad.....

--------------------------------------
Alex A. dos Santos
Sil Sistemas e Informática
Caxias do Sul - RS
--------------------------------------