[Tutor] Jythonc compile error

Ismael Garrido ismaelgf at adinet.com.uy
Thu Jan 13 23:32:40 CET 2005


Hello.

I don't know what's wrong. Any help is welcome.

Thanks
Ismael

testui.py
#######
import Java  #Tried with and without this line
print "Hello World!"
#######

H:\ARCHIV~1\Jython>jythonc -c -d -j test testui.py
processing testui

Required packages:

Creating adapters:

Creating .java files:
  testui module

Compiling .java to .class...
Compiling with args: ['H:\\Archivos de 
programa\\Java\\jre1.5.0_01\\bin\\javac',
 '-classpath', 'H:\\Archivos de 
programa\\Jython\\jython.jar;;.\\jpywork;;H:\\Ar
chivos de 
programa\\Jython\\Tools\\jythonc;H:\\ARCHIV~1\\Jython\\.;H:\\Archivos
de programa\\Jython\\Lib;H:\\Archivos de programa\\Jython', 
'.\\jpywork\\testui.
java']
1  java.io.IOException: CreateProcess: "H:\Archivos de 
programa\Java\jre1.5.0_01
\bin\javac" -classpath "H:\Archivos de 
programa\Jython\jython.jar;;.\jpywork;;H:
\Archivos de 
programa\Jython\Tools\jythonc;H:\ARCHIV~1\Jython\.;H:\Archivos de p
rograma\Jython\Lib;H:\Archivos de programa\Jython" .\jpywork\testui.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


More information about the Tutor mailing list