*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse project problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse project problem" Watch "Eclipse project problem" New topic
Author

Eclipse project problem

Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
I have a problem running Eclipse. I have a Java class which compiled and ran correctly using Textpad. If it means anything, I'm using the Swing classes and Windows XP. I'm now trying to run it in Eclipse Helios. I set up a Java project, then I created a new class and cut and pasted the source code of my class. When I try to run the class, I get this message:



Any clues out there?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Did you create a project named "Java programs" at any point? Did you have a project by that name at some point?


[Jess in Action][AskingGoodQuestions]
Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
Ernest Friedman-Hill wrote:Did you create a project named "Java programs" at any point? Did you have a project by that name at some point?


Yes, I did. Here is my file structure.

Srikanth Kumar
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
Your file structure does not have a project named "Java programs".


Srikanth Kumar
SCJP 5, SCWCD 5, SCDJWS 5
Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
Srikanth Kumar wrote:Your file structure does not have a project named "Java programs".


Okay, I thought I'd done that. How do I create a project in Eclipse?
Frank Serkland
Ranch Hand

Joined: Jun 21, 2010
Posts: 104
Frank Serkland wrote:
Srikanth Kumar wrote:Your file structure does not have a project named "Java programs".


Okay, I thought I'd done that. How do I create a project in Eclipse?


Never mind, I just figured it out, and everything is working now.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse project problem
 
Similar Threads
How to run a java project in command line.
ClassLoader.getSystemResourceAsStream() returning null
Classpaths in Eclipse
How to set different JDKs for different projects in Eclipse 3.0.1?
When I Run Main Project in NetBeans (F6) It always runs a project that isn't even open