puzzling eclipse launch error (??)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Robis
    New Member
    • Feb 2010
    • 3

    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!
  • Robis
    New Member
    • Feb 2010
    • 3

    #2
    Also, I'm running 32bit Windows 7.

    Comment

    • Robis
      New Member
      • Feb 2010
      • 3

      #3
      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.

      Comment

      Working...