I need to extract the contents of the Jar in to a specific location. When I run the below command to extract jar, it works correctly.
jar -xf location/ex.jar
The same command I placed inside a script(.sh/.ksh). When I run the script, I get the below error:
jar: not found.
Both the user are same from which I run the script/command.
I am using AIX server.