Java School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

it doesnt work! -> jar cvf filename.war Rate Topic: -----

#1 jowharshamshiri  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 0
  • View blog
  • Posts: 65
  • Joined: 24-December 07


Dream Kudos: 0

Share |

it doesnt work! -> jar cvf filename.war

Posted 29 December 2007 - 04:48 AM

hi guys.
see im working with this free hosting server and it keeps telling me to use the following command in windows command prompt while i have jdk 5 installed to create "ROOT.war" file out of the directory of the files i want to upload.
jar cvf ROOT.war


the problem is windows doesnt recognize the "jar" command. and i do have the environment variables set to the java bin directory. the other java commands work. the ones like "java" or "javaw" but not the "jar" command. and i checked the bin directory of jdk and there is no "jar.exe" there! so windows kinda has a point in not recognizing the command. what can i do?! please help me out.
Was This Post Helpful? 0
  • +
  • -


#2 1lacca  Icon User is offline

  • code.rascal
  • Icon

Reputation: 40
  • View blog
  • Posts: 3,822
  • Joined: 11-August 05


Dream Kudos: 0

Re: it doesnt work! -> jar cvf filename.war

Posted 29 December 2007 - 06:36 AM

I do have the jar.exe in C:\Program Files\Java\jdk1.5.0_09\bin so I think you might have to reinstall the JDK.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users