Can tar extract jar files Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionHow to transfer a rootfs folder?Install Java 8 on ARM Nas (Debian Wheezy)Where to view error log for already finished tar archive command?How to create sha1 checksums of files inside a tar archive on busybox without using much disk spaceHow to tar a directory to a different directory?Compressing Directory tree into multiple tar archives into a single xzrsync: Why doesn't --archive imply --recursive when --files-from=FILE is used?How does editing entries in cron file work?Gzipped archives - Create using tar -czf and extract using only -xf?Tar Splitting Into Standalone Volumes
List *all* the tuples!
Why was the term "discrete" used in discrete logarithm?
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
I am not a queen, who am I?
Stars Make Stars
Why constant symbols in a language?
Is above average number of years spent on PhD considered a red flag in future academia or industry positions?
ListPlot join points by nearest neighbor rather than order
Gastric acid as a weapon
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
Disable hyphenation for an entire paragraph
If a contract sometimes uses the wrong name, is it still valid?
What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?
Sorting numerically
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?
How to recreate this effect in Photoshop?
Why does Python start at index -1 when indexing a list from the end?
What is the musical term for a note that continously plays through a melody?
Can Pao de Queijo, and similar foods, be kosher for Passover?
Is there a service that would inform me whenever a new direct route is scheduled from a given airport?
How can I make names more distinctive without making them longer?
How can I fade player when goes inside or outside of the area?
Are my PIs rude or am I just being too sensitive?
Can tar extract jar files
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to transfer a rootfs folder?Install Java 8 on ARM Nas (Debian Wheezy)Where to view error log for already finished tar archive command?How to create sha1 checksums of files inside a tar archive on busybox without using much disk spaceHow to tar a directory to a different directory?Compressing Directory tree into multiple tar archives into a single xzrsync: Why doesn't --archive imply --recursive when --files-from=FILE is used?How does editing entries in cron file work?Gzipped archives - Create using tar -czf and extract using only -xf?Tar Splitting Into Standalone Volumes
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
From https://dzone.com/articles/java-8-how-to-create-executable-fatjar-without-ide
tar xf ExecutableOne.jar
but why do I get
$ tar xf ExecutableOne.jar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks.
tar java archive
add a comment |
From https://dzone.com/articles/java-8-how-to-create-executable-fatjar-without-ide
tar xf ExecutableOne.jar
but why do I get
$ tar xf ExecutableOne.jar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks.
tar java archive
Becausejar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.
– Michael Homer
Apr 11 at 20:35
4
This is probably a typo in the article, which really meant to sayjar xf
rather thantar xf
.
– dhag
Apr 11 at 20:37
3
They are just zip files, though, so you can extract them withunzip
too.
– Michael Homer
Apr 11 at 20:58
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13
add a comment |
From https://dzone.com/articles/java-8-how-to-create-executable-fatjar-without-ide
tar xf ExecutableOne.jar
but why do I get
$ tar xf ExecutableOne.jar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks.
tar java archive
From https://dzone.com/articles/java-8-how-to-create-executable-fatjar-without-ide
tar xf ExecutableOne.jar
but why do I get
$ tar xf ExecutableOne.jar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks.
tar java archive
tar java archive
asked Apr 11 at 20:30
TimTim
28.7k79270494
28.7k79270494
Becausejar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.
– Michael Homer
Apr 11 at 20:35
4
This is probably a typo in the article, which really meant to sayjar xf
rather thantar xf
.
– dhag
Apr 11 at 20:37
3
They are just zip files, though, so you can extract them withunzip
too.
– Michael Homer
Apr 11 at 20:58
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13
add a comment |
Becausejar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.
– Michael Homer
Apr 11 at 20:35
4
This is probably a typo in the article, which really meant to sayjar xf
rather thantar xf
.
– dhag
Apr 11 at 20:37
3
They are just zip files, though, so you can extract them withunzip
too.
– Michael Homer
Apr 11 at 20:58
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13
Because
jar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.– Michael Homer
Apr 11 at 20:35
Because
jar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.– Michael Homer
Apr 11 at 20:35
4
4
This is probably a typo in the article, which really meant to say
jar xf
rather than tar xf
.– dhag
Apr 11 at 20:37
This is probably a typo in the article, which really meant to say
jar xf
rather than tar xf
.– dhag
Apr 11 at 20:37
3
3
They are just zip files, though, so you can extract them with
unzip
too.– Michael Homer
Apr 11 at 20:58
They are just zip files, though, so you can extract them with
unzip
too.– Michael Homer
Apr 11 at 20:58
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13
add a comment |
2 Answers
2
active
oldest
votes
A jar file is a Java ARchive, not a tarball that can be extracted. You can install jar or java and extract the files (or use 7-Zip), but you can't extract them with tar.
New contributor
add a comment |
bsdtar
(which is the regular tar(1)
on FreeBSD, and easily installable on Linux) can extract .jar
s transparently, and a lot of other archive formats.
.jar
s are basically .zip
files.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511990%2fcan-tar-extract-jar-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
A jar file is a Java ARchive, not a tarball that can be extracted. You can install jar or java and extract the files (or use 7-Zip), but you can't extract them with tar.
New contributor
add a comment |
A jar file is a Java ARchive, not a tarball that can be extracted. You can install jar or java and extract the files (or use 7-Zip), but you can't extract them with tar.
New contributor
add a comment |
A jar file is a Java ARchive, not a tarball that can be extracted. You can install jar or java and extract the files (or use 7-Zip), but you can't extract them with tar.
New contributor
A jar file is a Java ARchive, not a tarball that can be extracted. You can install jar or java and extract the files (or use 7-Zip), but you can't extract them with tar.
New contributor
New contributor
answered Apr 11 at 20:35
Bob DoleBob Dole
761
761
New contributor
New contributor
add a comment |
add a comment |
bsdtar
(which is the regular tar(1)
on FreeBSD, and easily installable on Linux) can extract .jar
s transparently, and a lot of other archive formats.
.jar
s are basically .zip
files.
add a comment |
bsdtar
(which is the regular tar(1)
on FreeBSD, and easily installable on Linux) can extract .jar
s transparently, and a lot of other archive formats.
.jar
s are basically .zip
files.
add a comment |
bsdtar
(which is the regular tar(1)
on FreeBSD, and easily installable on Linux) can extract .jar
s transparently, and a lot of other archive formats.
.jar
s are basically .zip
files.
bsdtar
(which is the regular tar(1)
on FreeBSD, and easily installable on Linux) can extract .jar
s transparently, and a lot of other archive formats.
.jar
s are basically .zip
files.
answered Apr 11 at 21:22
pizdelectpizdelect
764210
764210
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511990%2fcan-tar-extract-jar-files%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Because
jar
files are not tar archives, and it's utterly bewildering to me that that article suggests they are.– Michael Homer
Apr 11 at 20:35
4
This is probably a typo in the article, which really meant to say
jar xf
rather thantar xf
.– dhag
Apr 11 at 20:37
3
They are just zip files, though, so you can extract them with
unzip
too.– Michael Homer
Apr 11 at 20:58
@MichaelHomer Can tar extract zip files?
– Tim
Apr 11 at 21:03
I wouldn’t be surprised if there were an implementation that could, but not usually.
– Michael Homer
Apr 11 at 21:13