You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by cowwoc <co...@bbs.darktech.org> on 2018/01/05 03:12:48 UTC

error reading vanilla-javac-impl.jar; cannot read zip file

Hi,

Every time I try building Netbeans from source (changeset 
63897d3264efe68334d6e31bfca71867141db19e) I get the following error:

compile:
  [nb-javac] Compiling 12 source files to 
C:\Users\Gili\Documents\incubator-netbeans\java.preprocessorbridge\build\classes
    [repeat] error: error reading 
C:\Users\Gili\Documents\incubator-netbeans\nbbuild\external\vanilla-javac-impl.jar; 
cannot read zip file

I am using Java 1.8.0_141 and Ant  1.10.1.

Any ideas?
Gili


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: error reading vanilla-javac-impl.jar; cannot read zip file

Posted by cowwoc <co...@bbs.darktech.org>.
I could have sworn I replied to this email but it looks like it never 
got sent.

By default, "core.autocrlf" is "true" under Windows. Seeing as 
.gitattributes is missing:

     *.jar    binary

This means that if any JAR file happens to contain a newline character, 
the file will be corrupt. The same goes for any other binary extension 
you can think of.

I recloned the repository with "core.autocrlf" set to "false" and now 
the repository builds properly.

Gili

On 2018-01-05 12:58 PM, John Muczynski wrote:
> Hi Cowwoc,
>
> You might try Ant version 1.9.9
> I say this because of the earlier email from Danny:
>
>     Hi all,
>
>     Thanks for the hints. I managed to get the build running by
>     uninstalling the ant version shipped with FC27. (1.10.1) and then use
>     the downloaded ant version 1.9.9.
>
>     Removing ant 1.10.1 by FC27 is required. I guess versions get mixed up
>     in execution otherwise.
>
>     Regards,
>     Danny
>
>
> Kind Regards,
> Johnny
>
> --
> Johnny Muczynski
> 734-262-2045
>
> On Thu, Jan 4, 2018 at 10:12 PM, cowwoc <cowwoc@bbs.darktech.org 
> <ma...@bbs.darktech.org>> wrote:
>
>     Hi,
>
>     Every time I try building Netbeans from source (changeset
>     63897d3264efe68334d6e31bfca71867141db19e) I get the following error:
>
>     compile:
>      [nb-javac] Compiling 12 source files to
>     C:\Users\Gili\Documents\incubator-netbeans\java.preprocessorbridge\build\classes
>        [repeat] error: error reading
>     C:\Users\Gili\Documents\incubator-netbeans\nbbuild\external\vanilla-javac-impl.jar;
>     cannot read zip file
>
>     I am using Java 1.8.0_141 and Ant  1.10.1.
>
>     Any ideas?
>     Gili
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
>     <ma...@netbeans.apache.org>
>     For additional commands, e-mail: users-help@netbeans.apache.org
>     <ma...@netbeans.apache.org>
>
>     For further information about the NetBeans mailing lists, visit:
>     https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>     <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>
>


Re: error reading vanilla-javac-impl.jar; cannot read zip file

Posted by John Muczynski <jo...@gmail.com>.
Hi Cowwoc,

You might try Ant version 1.9.9
I say this because of the earlier email from Danny:

Hi all,

Thanks for the hints. I managed to get the build running by
uninstalling the ant version shipped with FC27. (1.10.1) and then use
the downloaded ant version 1.9.9.

Removing ant 1.10.1 by FC27 is required. I guess versions get mixed up
in execution otherwise.

Regards,
Danny


Kind Regards,
Johnny

--
Johnny Muczynski
734-262-2045

On Thu, Jan 4, 2018 at 10:12 PM, cowwoc <co...@bbs.darktech.org> wrote:

> Hi,
>
> Every time I try building Netbeans from source (changeset
> 63897d3264efe68334d6e31bfca71867141db19e) I get the following error:
>
> compile:
>  [nb-javac] Compiling 12 source files to C:\Users\Gili\Documents\incuba
> tor-netbeans\java.preprocessorbridge\build\classes
>    [repeat] error: error reading C:\Users\Gili\Documents\incuba
> tor-netbeans\nbbuild\external\vanilla-javac-impl.jar; cannot read zip file
>
> I am using Java 1.8.0_141 and Ant  1.10.1.
>
> Any ideas?
> Gili
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>