need help regarding compilation

fidlee fidlee at gmail.com
Thu Feb 23 12:58:01 EST 2006


>
> Try this:
>
> def fac(x):
>  if x<=1:return 1
>  return x*fac(x-1)

I am still getting an error in compilation. Would be really thankful if
someone could tell me as to what is going wrong.

processing factor

Required packages:

Creating adapters:

Creating .java files:
  factor module

Compiling .java to .class...
Compiling with args: ['C:\\Program Files\\Java\\jre1.6.0\\bin\\javac',
'-classpa
th', 'C:\\Program Files\\jython123\\jython.jar;;.\\jpywork;;C:\\Program
Files\\j
ython123\\Tools\\jythonc;C:\\PROGRA~1\\JYTHON~1\\src\\.;C:\\Program
Files\\jytho
n123\\Lib;C:\\Program Files\\jython123', '.\\jpywork\\factor.java']
1  java.io.IOException: CreateProcess: "C:\Program
Files\Java\jre1.6.0\bin\javac
" -classpath "C:\Program
Files\jython123\jython.jar;;.\jpywork;;C:\Program Files
\jython123\Tools\jythonc;C:\PROGRA~1\JYTHON~1\src\.;C:\Program
Files\jython123\L
ib;C:\Program Files\jython123" .\jpywork\factor.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 Python-list mailing list