For anyone with a similar problem who finds this. The solution is packaging. You have to run all .java class files under 'default package'. I'm still trying to learn why this is.
Can anyone explain why .java files have to be run under default package. Meanwhile I'll dig in the Eclipse docs.
User Profile
Collapse
-
-
puzzling eclipse launch error (??)
Hello, I'm trying to learn Java and I've run into this issue. Eclipse won't run any applications with a main method in them. The java apps project area was previously used in Jcreator LE and imported into Eclipse. Any help is appreciated
Here's a desktop video I made of the issue.
http://www.screencast. com/t/NzcxNDM0ZmUt
Thanks!
No activity results to display
Show More
Leave a comment: