Thursday, 12 September 2013

Where is jar.exe in Java Developmen Kit?

Where is jar.exe in Java Developmen Kit?

I installed JDK
(http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-windows-x64.exe)
in "c:\jdk.1.7.0", set variable path to "c:\jdk.1.7.0", but using command
for example:
jar xvf ..\src.zip
Gives me this error:
'jar' is not recognized as an internal or external command,
operable program or batch file.
I'm reading Core Java volume 1 (9th edition). So here it stated to run
firstly command:
javac -version
Then I got that same error. And in bin directory there were no javac.exe
too, but I found java.exe and it worked. So does jar.exe is also changed
to some another name or it somewhere else? It seems strange that this book
is released this year and even names of files do not match in newest
version or am I missing something here?..
P.S. I'm using windows 7 64 bit.

No comments:

Post a Comment