Reputation: 800
I just set up JDK 7 on my PC running Windows 7 and created a hello world program called HelloWorldApp.java
.
When I tried to run it, it said that it couldn't find the file. I looked in the directory and found the .class
file, but it was named HelloWoldApp.class
(note the missing r
).
Why is this, and should I be concerned?
Upvotes: 0
Views: 429
Reputation: 4205
It works just fine for me.
You should probably be concerned if and only if you have double, triple, quadruple,..., and n-tuple checked that you didn't spell the name of the class incorrectly.
You may have reason to be concerned about your spelling.
Upvotes: 1
Reputation: 21269
Check your source file. I bet you named the class HelloWoldApp
inside.
Upvotes: 6