Creating A DrJava Project
From Huben's Wiki
(Created page with "These instructions work for the [http://www.greenleecds.com/javaap.html#130 Greenlee Gridworld Exercises]. # Make or select a FOLDER for the project. (In this case, simpleBug in...") |
|||
Line 2: | Line 2: | ||
# Make or select a FOLDER for the project. (In this case, simpleBug in GridWorldCode_DrJava/projects.) | # Make or select a FOLDER for the project. (In this case, simpleBug in GridWorldCode_DrJava/projects.) | ||
# Move or copy the .java files there. (In this case download SimpleBugRunner.java, SimpleBug.java, and SimpleBug.GIF to the folder.) | # Move or copy the .java files there. (In this case download SimpleBugRunner.java, SimpleBug.java, and SimpleBug.GIF to the folder.) | ||
− | # Start DrJava and pull down | + | # Start DrJava and pull down Project/New. |
# Select the name and location for the .drjava project FILE. (In this case simpleBug in folder GridWorldCode_DrJava.) | # Select the name and location for the .drjava project FILE. (In this case simpleBug in folder GridWorldCode_DrJava.) | ||
# In the Project Properties popup, set the Project Root and Working Directory to the project FOLDER. | # In the Project Properties popup, set the Project Root and Working Directory to the project FOLDER. | ||
# Use the popup to select the main class if you wish from the project FOLDER. (In this case, SimpleBugRunner.) | # Use the popup to select the main class if you wish from the project FOLDER. (In this case, SimpleBugRunner.) | ||
# Click the Add button for Extra Classpathand to add jar files. (In this case, gridworld.jar.) | # Click the Add button for Extra Classpathand to add jar files. (In this case, gridworld.jar.) | ||
− | # Click Apply, | + | # Click Apply, OK. |
+ | # Pull down Project/save. |