From: Luca C. <cas...@li...> - 2007-02-14 18:41:14
|
What does this error mean, and how do I get rid of it? I guess my system is properly configured, as I can successfully compile a HelloWorld.java example using javac, but I think I miss something in Jython configuration. D:\programmi\programmazione\Jython>jythonc -j jython03.jar jython03.py processing jython03 Required packages: java.lang java.awt.event Creating adapters: java.awt.event.ActionListener used in jython03 Creating .java files: jython03 module jython03 extends java.awt.Frame Compiling .java to .class... Compiling with args: ['C:\\Programmi\\internet\\Java\\jre1.5.0_06\\bin\\javac', '-classpath', 'D:\\programmi\\programmazione\\Jython\\jython.jar;D:\\programmi\\programmaz ione\\jdk1.1.8;.\\jpywork;;D:\\programmi\\programmazione\\Jython\\Tools\\jyt honc;D:\\programmi\\programmazione\\Jython\\.;D:\\prog rammi\\programmazione\\Jython\\Lib;D:\\programmi\\programmazione\\Jython', '.\\jpywork\\jython03.java'] 1 java.io.IOException: CreateProcess: C:\Programmi\internet\Java\jre1.5.0_06\bin\javac -classpath D:\programmi\programmazione\Jython\jython.jar;D:\pr ogrammi\programmazione\jdk1.1.8;.\jpywork;;D:\programmi\programmazione\Jytho n\Tools\jythonc;D:\programmi\programmazione\Jython\.;D:\programmi\programmaz ione\Jython\Lib;D:\programmi\programmazione\Jython .\jpywork\jython03.java error=2 Consider using the -C/--compiler command line switch, or setting the property python.jythonc.compiler in the registry. ERROR DURING JAVA COMPILATION... EXITING But if I try using javac directly on jythonc resulting .java file, I get these errors: how can I tell javac where to find jython libraries?? D:\programmi\programmazione\Jython\jpywork>javac jython03.java jython03.java:1: Package org.python.core not found in import. import org.python.core.*; ^ jython03.java:3: Interface org.python.core.ClassDictInit of class jython03 not found. public class jython03 extends java.awt.Frame implements org.python.core.PyProxy, org.python.core.ClassDictInit { ^ jython03.java:3: Interface org.python.core.PyProxy of class jython03 not found. public class jython03 extends java.awt.Frame implements org.python.core.PyProxy, org.python.core.ClassDictInit { ^ jython03.java:8: Superclass PyFunctionTable of nested class jython03. _PyInner not found. public static class _PyInner extends PyFunctionTable implements PyRunnable { ^ jython03.java:8: Interface PyRunnable of nested class jython03. _PyInner not found. public static class _PyInner extends PyFunctionTable implements PyRunnable { ^ 5 errors |