on 2007 Feb 14 5:39 AM
Hello all,
I am just trying to creat a small J2EE application in NWDS..
I dont know wats wrong but I am not getting proper option to create .Jar file in J2EE explourere and when I create this file ... It is not creating with all the classes it should..
when i click it to open it gives me an error that invalid jar file...
Plzzzzzzzz guide me asap... and if possible proper document also..
Thanks in advance,
Yashvi
from the context menu of the web module in j2ee explorer you can select <b>Build Web archive.</b>
from the context menu of the ejb module in j2ee explorer you can select <b>Build EJB archive.</b>
from the context menu of the EAR project , which references the EJB / Web modules in j2ee explorer you can select <b>Build Application archive</b>.this will inturn invoke build on the referenced modules.
what is the way you are trying to build it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why do you want to open the jar file?
opening a jar file on double click needs a lot of settings and then only can run executable jar files.
if you want to deploy the J2ee application ear that you created then in the J2EE explorer , right click on the EAR and select <b>Deploy to J2EE engine</b>
.
If you want to check the contents of the EAR / JAR / WAR file you could do so by navigating to the folder on file system where it is created , and either open it with WinZip or on the command prompt using jar command viz <b>jar -tvf xyz.jar</b> will output the contents of the jar on the console.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.