0

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?

1
  • Did it really compiled fine? Did you at least get a compiler warning? Commented Jun 26, 2012 at 17:55

2 Answers 2

6

Check your source file. I bet you named the class HelloWoldApp inside.

Sign up to request clarification or add additional context in comments.

1 Comment

I can't believe I didn't realize that, I'm very new to Java.
1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.