mojira.dev
MCL-130

Couldn't unpack natives!

(Mojang) Grum (Erik Broes)

There is nothing for us to work on. If your local settings somehow prevent the game from installing there is very little we can do programmatically.

You might have started it with the wrong permissions before (like Administrator) and now the files refuse to be updated because of permission-issues.
You might have an overly protective antivirus/firewall/similar 'protection' thing that needs to be turned off (and sometimes even completely uninstalled) for it to work.

On any 'basic' system the launcher works, if people somehow break their own system, or their access to it there is nothing the launcher can do beyond saying as much as it knows (which is what it does. In the case of the initial ticket here, the downloaded zip is broken, as we check every file after downloading, this is either some overprotective 'thing', a broken harddisk (bad sector for example) or an inability to update the file because of permissions etc etc.


For technical support please use the Mojang Support Center.


Original issue:

Launcher opens up and then when I log in an error message in the Development Console say

Launcher started...
Getting syncinfo for selected version
Queueing downloads
Launching game
Couldn't unpack natives!
java.util.zip.ZipException: error in opening zip file

From MCL-704

Launching game
Looking for old natives to clean up...
Deleting C:\Users\jbrac_000\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-3705141918587
Unpacking natives to C:\Users\jbrac_000\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-3845973197478
Couldn't unpack natives!
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at java.util.zip.ZipFile.<init>(Unknown Source)
	at net.minecraft.launcher.GameLauncher.unpackNatives(GameLauncher.java:322)
	at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:165)
	at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:447)
	at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:95)
	at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
	at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:65)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

From MCL-706

Launching game
Looking for old natives to clean up...
Deleting C:\Users\Kids\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-511195048196675
Unpacking natives to C:\Users\Kids\AppData\Roaming\.minecraft\versions\1.6.1\1.6.1-natives-511225440440302
Couldn't unpack natives!
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at net.minecraft.launcher.GameLauncher.unpackNatives(GameLauncher.java:322)
at net.minecraft.launcher.GameLauncher.launchGame(GameLauncher.java:165)
at net.minecraft.launcher.GameLauncher.onDownloadJobFinished(GameLauncher.java:447)
at net.minecraft.launcher.updater.download.DownloadJob.popAndDownload(DownloadJob.java:95)
at net.minecraft.launcher.updater.download.DownloadJob.access$000(DownloadJob.java:10)
at net.minecraft.launcher.updater.download.DownloadJob$1.run(DownloadJob.java:65)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Linked issues

Attachments

Comments 20

Erik Broes

Can you copy the full log from the console of the new launcher?

Erik Broes

Delete your: C:\Users\jbrac_000\AppData\Roaming\.minecraft\libraries folder and restart the launcher.

kumasasa

Is this still a concern in the current Minecraft / Launcher version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

kumasasa

No answer, assuming no longer an issue.

migrated

Same problem, would love for this issue to be re-opened and investigated further.

10 more comments
migrated

Hey guys, try moving your launcher executable to a different folder. This fixed it on two of my machines (haven't tested the third.) I have no idea why I can't launch it from the desktop anymore, even though I've been doing so for years. But, in the short run, this worked for me. Hope this helps!

migrated

In having the same problems, how the frick do i fix it?

migrated

Thx i got it fixed =)
On Jan 1, 2014 2:34 AM, "[Mod] Kumasasa (JIRA)" <[email protected]>

migrated

After three weeks research I gave up: The only way for my computer to get this fixed (MCL-1941) was to re-install Windows 7 Ulimate completely from scratch.

Some of the downloaded components were changed by whatever mechanism for whatever reason so that a "Hash did not match downloaded file" message as shown multiple times in the attached log of MCL-1941 appeared; finally leading to the famous "Could not unpack natives".

The explanation I found via google that might come closest to source of the actual problem behind that issue is that some program piece suspects some sound and/or picture files as malware and replaces them with some other arbitrary stuff leading to that "Hash did not match..." message. But although after deleting a couple of these "helpful" programms like "Avira ask search toolbar" the hash mismatch was gone; nevertheless minecraft crashed with some ogg file header issue...

migrated

will someone help me just fi it ive tried everything! Please!

migrated

(Unassigned)

Unconfirmed

Retrieved