From: Stefan Mahlitz Date: 2005-12-15T05:33:38+09:00 Subject: Re: [ANN] jEdit Ruby Editor Plugin 0.7.6 released Joel VanderWerf wrote: > Rob . wrote: > >> The jEdit Ruby Editor Plugin release 0.7.6 is available for download at: >> >> http://www.jedit.org/ruby/ > > > I followed the instructions, but when I run jedit after installing the > plugins, I get an error message about RubyPlugin.jar: > > The following plugin cannot be loaded: > C:\Documents and Settings\vjoel\.jedit\jars\RubyPlugin.jar: > Cannot load: java.util.zip.ZipException: error in opening zip file > The most likely reason is that the JAR file is corrupt; try > reinstalling it. See Utilities->Troubleshooting->Activity Log > for a full stack trace. > > What did I do wrong? I guess nothing (except I did it wrong as well). The problem seems to be, that the server sends these jar-files with content-type text/plain, which could cause Firefox (what do you use?) to not treat it as binary files. Downloading with InternetExplorer could work (its autodetection of content-type identified the file as being .zip), but I never tested it. Used wget to download and it works. > I downloaded it again with the same result. > > The file also fails to open with java when I right click in Explorer and > select "open with... java". Same error, essentially. > > This is a completely clean install--I've never used jedit before. It is not an issue with jedit but the server configuration. I guess. Cheers