Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating a WAR file

843804Nov 14 2002 — edited Nov 15 2002
Help! desperate!
I have developed a java web application with jrun development server. Now I would like to create a war file so that it can be deployed in a production server.
Currently, I am testing whether creating war file works. Hence I created a temporary directory names rootDir in my C drive and copied the web app into that.

This is all it looks now.

C:\rootDir\myApp

jdk home is in C drive also. jar app resides in the bin sub directory.

C:\jdk1.3.1_02\bin

This is how I issued the command.
C:\rootDir\myApp\jar cvf myApp.war

This is the message I received.
'c' flag requires that input files be specified.

Does this mean that I have to specify all the files which need to go into the war file. I hope not!

Sue
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2002
Added on Nov 14 2002
1 comment
213 views