Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory: 'jar' #26

Open
unamon opened this issue Oct 9, 2024 · 1 comment
Open

No such file or directory: 'jar' #26

unamon opened this issue Oct 9, 2024 · 1 comment

Comments

@unamon
Copy link

unamon commented Oct 9, 2024

Hey, I've been trying to use the program but come across this issue:

$ binwalk -e image.png

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
869           0x365           Zlib compressed data, best compression

WARNING: Extractor.execute failed to run external extractor 'jar xvf '%e'': [Errno 2] No such file or directory: 'jar', 'jar xvf '%e'' might not be installed correctly
34562         0x8702          Zip archive data, encrypted compressed size: 98, uncompressed size: 86, name: archive.txt

WARNING: One or more files failed to extract: either no utility was found or it's unimplemented

I do have java jdk installed, but the command in question wouldn't be simply jar, but java -jar. Am I missing something? Is there a way to configure binwalk to use another extractor instead?

@stkw0
Copy link
Member

stkw0 commented Oct 10, 2024

In which system does it happen? In Gentoo and Debian at least jar is provided. For example, in Debian it's provided by openjdk-17-jdk-headless package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants