This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I was playing with executable jar today, followed all the instructions, and always get an error that Java cannot find the class named in the Main-Class: tag. I found one discussion thread on the web with several people who had the same problem, but no solutions. Is this a common problem? What am I doing wrong?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Jan 30, 2002
Is this a common problem?
Do bears live in the woods? Yep, very common. It generally has to do with a package problem, but it could be other things as well. What is the directory structure of you jar file and what is the fully qualified name of your main class, that is like com.package.MainClass? Post that and a copy of the mainfest and maybe we can get it to work. Michael Morris