Another quick Java Q...

Code doesn't have to be run to be manually checked, you've given us absolutely nothing to work from so we can't even begin to guess at what exactly's gone wrong
 
It won't run yet... it's not finished, its just saying that it isnt' found!

Yes, in which case you were getting a compiler error. Pasting that would have helped us. It would have told us stuff like a) is the type not found b) is the JDK missing or not linked c) have you mis-named the variable and not noticed etc.
 
Back
Top Bottom