Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Joined: Jan 29, 2003
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