This content has been marked as final. Show 2 replies
rocky777 wrote:Re: jar -xvf orgtestApp.war
I had a problem in extracting .war file.
I got a .war file to deploy in weblogic application server.
I want to extract this file and look inside it (need to edit) but i couldn't.
I use this commnand and got following error.
[sarad.mk@inek2 sampleapp]$ ls
[sarad.mk@inek2 sampleapp]$ jar -xvf orgtestApp.war
bash: jar: command not found
Can anyone please help me out quick. I am in real difficult.
Thanks in advance,
This means you have not been able to locate the 'jar' command on your local path:
( echo $PATH ).
The solution is to locate the full path to a jar command. These are likely to be in a java sdk bin directory; if you have one on your machine. You should then be able to work by adding that directory to your path or perhaps specifying the full path to the jar file.
Some other utilities are able to do this also: in checking my memory on this i seen the following thread on java coderanch: http://www.coderanch.com/t/91536/java/edit-war-file-JSP