I am using Java JDK 1.4. I have created MyFistEjb.jar file which has 3 class files (EJB files). Now, I have to include xml files which are present in META-INF folder. I gave the following command at command prompt to include manifest files.
jar uvfm MyFirstEjb.jar META_INF.
But it gave the following error:
" java.io.FileNotFoundException: META-INF (Access is denied)"
Can anyone point out the solution to this error.
The xml files in META-INF folder are not manifest files...
Manifest file is META-INF/MANIFEST.MF
If you want to add manifest file for a jar, you need to specify the file itself
instead of META-INF folder.
File managers like Total Commander (or mc in linux) are very
useful for extracting/updating jar files.