Re: Wrong Central Directory Signature when running ikvmc
Volker Berlin <[email protected]> Thu, 10 Nov 2016 20:58:07 +0100
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, The reading of jar and zip files is implemented in the external library ICSharpCode.SharpZipLib. If you ask the folk of this project then you can have more luck. Volker Am 09.11.2016 um 19:56 schrieb Paul Chambre: > Thanks. I don't think so. Pretty much all our work is under US English > locales. > > IntelliJ put a ton of un-needed stuff in the jar. I deleted a bunch of > it to get the jar to 126MB (I'm sure it can be trimmed more), and that > got me a result that ikvmc was OK with. Next thing I noticed was that > I had an older version of ikvm. After getting the newer version, I was > able to make a dll that recognized my packages and classes. I have > another question, now, but I'll drop that into a different thread. > > The newer version still doesn't like the larger jar, though. It may be > that some of the included paths, in the content I deleted, was longer > than 250 characters... > > Cheers, > Paul > > On Wed, Nov 9, 2016 at 11:21 AM, Volker Berlin > <[email protected] <mailto:[email protected]>> > wrote: > > Hi Paul, > > * Does your jar file contains files with non ASCII file name? > * Do you have Zip64 file format? > * Can there some extra characters at end of the file? For > example through a download. > > Take a look into the source code. This can help you to understand > the problem. > http://www.icsharpcode.net/CodeReader/SharpZipLib/031/ZipZipFile.cs.html > <http://www.icsharpcode.net/CodeReader/SharpZipLib/031/ZipZipFile.cs.html> > > Volker > > > > > Am 09.11.2016 um 18:32 schrieb Paul Chambre: >> Hi folks, >> >> I'm (very quickly) getting Wrong Central Directory Signature as a >> fatal error when I try to process my jar file with ikvmc >> (7.2.4630.5). I suspect that the cause is a corrupt, or >> non-ideal, jar or zip that's being included in the outer jar when >> it's built by IntelliJ. The outer jar runs fine, and can be >> opened by SevenZip. >> >> Is there a way to find out what particular file is causing the >> error? The jar is quite large (200MB), and it's a bit tedious to >> make partials versions and attempt to process them to see which >> inclusion is causing the failure... though that's the tack I'm >> taking at the moment. Extracting and rebuilding the whole jar >> with SevenZip still results in the same error, so I don't think >> it's the outer zip processing that's the problem. >> >> Thanks, >> Paul >> >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> >> _______________________________________________ >> Ikvm-developers mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.sourceforge.net/lists/listinfo/ikvm-developers >> <https://lists.sourceforge.net/lists/listinfo/ikvm-developers> > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors Access to > Intel Xeon Phi processor-based developer platforms. With one year > of Intel Parallel Studio XE. Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ Ikvm-developers > mailing list [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > <https://lists.sourceforge.net/lists/listinfo/ikvm-developers> > > -- > Paul Chambre > Senior Solutions Architect > (719) 465-6097 > Illumon - Big Value From Big Data ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers