File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Try to guess how Eclipse works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Try to guess how Eclipse works" Watch "Try to guess how Eclipse works" New topic

Try to guess how Eclipse works

Alex Garci

Joined: Feb 14, 2012
Posts: 15

I'm using Eclipse Indigo in Windows 7 and I don't know how to open a file. That is, when I run Eclipse I display the window to select the workspace what I want to work. After selecting it, I can't find any option to open a project. What I can do only is to open a file. I select the file to open and when I run it, I display a window with two options that are the same for me:

ant build
ant build ...

I run the program twice, each one for every option, and the result is the same: nothing is displayed and I only see the code in the IDE. The program must calculate the area of a triangle.

I move the program's folder to another one and I repeat the same process but it doesn't work.

Why I can't open a project and I can't run the file?

Peter Johnson

Joined: May 14, 2008
Posts: 5852

Have you gone through the tutorials provided in the Eclipse help? Look at Help | Help Contents and then under Workbench User Guide | Getting Started and then under Java Development User Guide | Getting Started.

Basically, you first create a project, then then you create files within that project. If you have existing files, you can copy them into a project directory and refresh the project and it will include the files.

JBoss In Action
I agree. Here's the link:
subject: Try to guess how Eclipse works
jQuery in Action, 3rd edition