This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
hi there, i am using window XP and j2sdk1.4.1_02 i have created a jar with jar -cvfm sempleproject.jar Manifest.MF -C classes . manifest.MF ------------ Manifest-Version: 1.0 Main-Class: sampleproject.gui.Application in the sempleproject.jar the only information that generate in meta-inf/Manifest.mf is below( after i unzip it ) Manifest.mf ----------- Manifest-Version: 1.0 Created-By: 1.4.1_02 (Sun Microsystems Inc.) p/s had tried 1.3.1, 1.3.1_8) if anyone have any ideal please let me know thanks
Here is my jar command that I used. jar -cvfm server.jar c:\devexam\manifest\server\manifest.mf suncertify\db\*.class suncertify\server\*.class suncertify\help\*.class
Now it is possible in what happened to yours was that you didn't specify the path to where the manifest.mf file is that you created. So instead it created its own, which was wrong. You also had a -C before the classes. What is this for? Hope that helps. Mark