From: <bc...@wo...> - 2000-12-09 18:58:45
|
[Mats Wichmann] >Pretty new to Jython, and faced with having to write something >sensible about it (for a class I'm putting together). Sigh. > >Anyway, looking over the demo programs that (still) come with >the current alpha, and I can't get the example in "javaclasses" >to work. The output trace is attached. Any suggestions >welcomed... >Command (as described in readme.txt): >jythonc -package pygraph Graph.py >========= > >Warning: -package is deprecated, use --package Thanks for the feedback. I'll update the readme.txt to use the --package option. >[...] > >Compiling .java to .class... >Compiling with args: ['C:\\PROGRAM FILES\\JAVASOFT\\JRE\\1.3\\bin\\javac', ... >1 java.io.IOException: CreateProcess: "C:\PROGRAM FILES\JAVASOFT\JRE\1.3\bin\javac" ... This is most likely because you used the JRE to install Jython. The JRE does not include a java compiler. If the JRE is the only JVM you have installed, you will need to install the full JDK. If you have installed the full JDK already, you may need to specify the full path to the JDK java.exe when installing Jython, ie: c:\java\jdk1.3\bin\java -cp . Jython-20a1 where c:\java is the path you specified when you installed the JDK. I have very recently added additional information to the install.html page which hopefully will help other from falling into the same problems. regards, finn |