Hello. I have been programming Java
for a while now, but I've always only used IDE
's such as eclipse.
But, when I had to test
Console.readPassword(), Eclipse wouldn't work. So I had to use the command prompt to test it.
But after hours of searching, I still cannot find out why it tells me it cannot find the main class, when I explicitly point to it.
Here is my file hierarchy and my command.
D:\Java projects\Irrelevant folder1
Irrelevant folder 2
JavaEms\bin\ems\[.class files. Including the Main.class]
3 .txt's used by the app
And the command is : Java -classpath D:\Java_projects\JavaEms\bin ems.Main
And it tells me that it cannot find or load main class ems.Main.
Any help is appreciated.