1) C:\Users\nirjari>"C:\Program Files\Java\jdk1.7.0_79\bin\jar" cf "C:\Users\nirjari\Desktop\Java\CustomerSource" "C:\Users\nirjari\Desktop\JAR\CustomerSource\buildJar.xml"
When I am executing command as above, I can see CustomerSource jar is created on desktop under
JAVA folder.
C:\Users\nirjari>"C:\Program Files\Java\jdk1.7.0_79\bin\jar" cf CustomerSource "C:\Users\nirjari\Desktop\JAR\CustomerSource\buildJar.xml"
Where will CustomerSource be created, if I dont provide path. Wha is default location ? I dont see this JAR created in same location as buildJar.xml.
Is there a way to check, where a file is created when path is not provided ?
2) C:\Program Files\Java\jdk1.7.0_79\bin\jar , I have included this path in PATH variable. But still when I run jar cmd, I am getting error message "'jar' is not recognized as an internal or external command, operable program or batch file." , why is that
Thanks