Home
Resources - Getting tools
Tutorials
Sample Code
Documents
Help

                 

 

 

Create a Project

  1. From the menu, choose: File | New | Project.
    Be sure Java and Java Project are chosen in the displayed window. Click Next.

  2. The next window is important:
  1. Click Finish (don't click the Next button).

An open folder icon should appear in the Package explorer panel. Expand the folder by clicking on the +. At this point there are no java files listed, however there is a reference to the JRE System Library. You have now defined a project and are ready to define some classes.

Removing the project

Right-click on the project name. From the pop-up menu, you can close the project (remember this in the future). For now, you will choose Delete. In the next pop-up window, be sure to check Do not delete contents and click Yes.. This choice merely removes the project name from the explorer; it does not delete any files.

Opening the project

Now you will redefine the project you just deleted.

  1. Choose File | Import from the menu.
  2. Choose Existing Project into Workspace and click Next. (Note: choose File system whenever you want to import a non-Eclipse project that already exists on your drive.)
  3. In the Import window, click Browse - then navigate to the project folder, tutorial. Click Finish (don't click Next). Your project is back in the workspace. Note: when using public PCs, old workspace settings may be lost, so be sure the use this process to import an Eclipse project into the Package explorer.
You are now ready to create a Java file. Go to the next subtopic.