Java For Dummies, 5th Edition Using Eclipse... Select A Workspace. (The Workspace Name That Eclipse Suggests Is Fine.)
Java For Dummies, 5th Edition Using Eclipse... Select A Workspace. (The Workspace Name That Eclipse Suggests Is Fine.)
Using Eclipse...
Select a workspace. (The workspace
name that Eclipse suggests is fine.)
In the Wecome screen, click the
Workbench icon.
Import Existing Projects.
Import Existing Projects.
Select achive file, then Browse to the
location of the book's downloaded
examples (a .zip file).
Select the zip file containing the book's
examples. You'll see a list of Eclipse
projects containing the book's code.
Click Finish.
Double-click a Java file to see its code
in the editor.
Right-click (windows) or Control-
click(Mac) a Java file and select
Run AsJava Application.
The program's run appears in Eclipse's
Console view.
To write your own code, select File
NewJava Project.
In the New Java Project dialog, type a
name for your project, and then click
Finish.
Right-click (Windows) or Control-click
(Mac) your new project in the Package
Explorer view. Then select NewClass.
Type a name for your Java class.
Optionally, check the box to create a
main method.Then click Finish.
Your new class appears in Eclipse's
editor.
Edit the code in Eclipse's editor.
Right-click (Windows) or Control-click
(Mac) your project's branch in the
Package Explorer view. Then select
Run AsJava Application.
If necessary, agree to save any
unsaved files.
2011 John Wiley and Sons, Inc.
Your program runs in Eclipse's
Console view.