java - Extract Java7u60 Server on Windows
2014-07
I've downloaded the file server-jre-7u60-windows-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-1931105.html and am trying to extract it with 7Zip.
I have done that successfully with all previous updates of Java 7, but for some reason update 60 fails.
The first step seem to work properly and creates a file of about 200MB in size named server-jre-7u60-windows-x64.
Then the next step only extracts a couple of files (total of 656 bytes) and stops.
Is that a problem with the archive or with 7Zip? Any ideas on how to extract it properly?
Thanks!
PROBLEM: I would like to be able to extract tar.gz files in a single step. This makes my question almost identical to this one: stackoverflow question for tar-gz.
My question is almost the same, but not the same, because I would like to do this on windows using 7zip command-line (or something similar) inside a bat file or ruby/perl/python script.
QUESTION: This seemingly simple task is proving to be more involved than the first appearance would make it out to be. Does anyone have a script that does this already?
Perhaps the GnuWin32 ports of gzip and tar are what you need (scroll down)
Maybe try something like adding a temporary .tgz extension?
MOVE %1 %1.tgz
7z x %1.tgz
MOVE %1.tgz %1
I might be wrong, but I believe 7zip will unzip tgz files all at once (instead of with tar.gz files).
Try the tartool utility http://tartool.codeplex.com/
I was frustrated by the lack of a cmd line utility for such a simple task and created it for this exact reason.
The code is open source and uses SharpZipLib library.