SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
If I simply move the jar file from �classes� to �cert� and then load runme.jar and the code directory into the main JAR file, will it be OK? I suspect that the internal sub directory structure may be affected by moving the runme.jar. Am I worrying needlessly?
SCJP 1.4, SCJD 1.4, SCBCD (Preparing!)
Also, don't forget that you're not supposed to have a directory called classes with all your compiled classes in your main JAR.
SCJP 1.4, SCJD 1.4, SCBCD (Preparing!)
cd project\target\classes
jar cvf target\runme.jar .
Got SCJP in Feb 2003<br />Trying to find time for SCJD ever since.
As for your question, Michael. The Manifest file is used to tell the system where to find the Main method that starts the application. Without it the application will not start when you type:
java runme.jar
Consider Paul's rocket mass heater. |