Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I created a manFile.txt file and put in it >>Main-Class: com.cibc.rewardpts.RewardsMain Then on the comand line I created my jar file this way >>jar cmf manFile.txt jarFile.jar runClass\classes\com\cibc\rewardspts\RewardsMain.class this creates a jar file with the heading manifest of >> then I did this >>jar uf jarFile.jar runClass\classes\com\cibc\rewardspts to add the rest of my classes into the jar file. Then I try to run it like this >>java -jar jarFile.jar and this is the message I get? Exception in thread "main" java.lang.NoClassDefFoundError: com.cibc.rewardpts.RewardsMain Help ASAP please
Replies: |
Sponsored Links
|