From: Dave K. <dku...@cu...> - 2006-02-18 00:00:23
|
Alan Kennedy <jython-users <at> xhaus.com> writes: > > [Dave Kuhlman] > > 2. I tried downloading and installing jython_21.class. When I do > > I get an exception: > > > 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? > > Can you tried installing from the file on a different platform, e.g. > Windows or Mac? Or with a Sun JVM? > > That would eliminate the possibility of file corruption. > Alan - Thanks. That's a good suggestion. I do not have access to another platform. But, due to your prodding, I tried another Java SDK. I downloaded Java 2 SDK 1. 4.2 from java.sun.com. Using that version of Java, I was successfully able to install from the jython_21.class file. So, to summarize, 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) Copyright (C) 2005 Free Software Foundation, Inc. I cannot install from the Jython_21.class file. But, with this version: $ ~/a1/Java/j2sdk1.4.2_10/bin/java -version java version "1.4.2_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03) Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode) I can successfully install it. I believe this indicates that the problem is with the GNU version of java (gij ?) installed on my machine. So, I'll try to report the problem to that project. It also means (I think) that the Jython_21.class file at SourceForge is fine. But, I guess you already knew that. Thanks again for help. Dave |