Don’t give your project, package and class, the same name.
Recently I discovered that if you name your project, and your package, and your class with the same name, you will face extreme difficulty building your class files and executing your program.
Here is an example…