From: Dave K. <dku...@cu...> - 2006-02-17 01:37:51
|
Several questions: 1. I normally do my testing with Jython 2.2a, but someone asked me about installing Jython. I'm assuming that I should still be recommending Jython 2.1 for production work. Am I right about that? Or, do some of you use Jython 2.2a for real work? 2. I tried downloading and installing jython_21.class. When I do I get an exception: $ java -cp . jython_21 -o Jython-2.1 Exception in thread "main" java.lang.ClassFormatError: jython_21 (unused d at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int at java.security.SecureClassLoader.defineClass(java.lang.String, byte[] at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.s at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLo at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) That exception ("unused data before end of file") suggests that the downloaded file is corrupted. But, the downloaded file is the same size as that reported at SourceForge. And, I downloaded it several times with the same result each time. Does anyone have a suggestion? I'm on Linux (Ubuntu) with the following version of Java: $ java -version java version "1.4.2" gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9 Dave |