I'm trying to decipher your "java application" answer.
I've seen it on Eclipse.
Are you using Eclipse? Or any other
IDE like NetBeans, IDEA, JBuilder, else?
What your java application will do?
If it's a program that will execute stand alone then you need only one starting point so only one main method.