Gzip problems when building the "Desktop" stuff

Hi

I wanted to build linux and OSX applications and got that stacktrace (you see OSX failling, but Linux has the very same problem)

xpanding: /home/cli/workspace/Rose/resources/desktop-deployment/jre-macosx-x64.tar.gz into /home/cli/workspace/Rose/build/jre
/home/cli/workspace/Rose/nbproject/desktop-deployment-impl.xml:168: The following error occurred while executing this line:
/home/cli/workspace/Rose/nbproject/desktop-deployment-impl.xml:199: Error while expanding /home/cli/workspace/Rose/resources/desktop-deployment/jre-macosx-x64.tar.gz
java.io.EOFException: Unexpected end of ZLIB input stream
    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
    at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:253)
    at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:220)
    at org.apache.tools.tar.TarInputStream.read(TarInputStream.java:593)
    at java.io.FilterInputStream.read(FilterInputStream.java:107)
    at org.apache.tools.ant.taskdefs.Expand.extractFile(Expand.java:342)
    at org.apache.tools.ant.taskdefs.Untar.expandStream(Untar.java:167)
    at org.apache.tools.ant.taskdefs.Untar.expandFile(Untar.java:114)
    at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:132)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 17 seconds)

I juse the 3.1 - alpha3 SNAPSHOT SDK

Any ideas?

Check the .tar.gz, it most likely means the file is broken (which might happen on a canceled download or some other issue, which depends on which SNAPSHOT you have).

Do you see the “JRE Version” Field under Deployment? If so try deleting all the downloaded jre’s, enter 1.8.0_77-b03 as Version and if it works, you might consider upgrading your system jre.