Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to create war file

 
smitha rajgopal
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am not able to create war file using the 'build war' command from commad prompt.
I have a folder with just a jsp file and webInf copied into that folder.My jdk1.5 is installed in h: drive and my folder is in d: drive and my java_home is set.My claspath is set to tools.jar present in jdk1.5.
From the command prompt if i try d:example/build war ..i get the error "build is not recognised as internal or external commad".
I even tried setting the 'path' variable to tools.jar.But its giving the same error.
Please help...

Thanks,
Smitha
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have some reading to do. "build" is not part of the JDK environment. You'll want to use jar to create war files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic