Smith College / CSC223 / A1 Starter Code
-
Install the Java JDK; NOT the JRE: https://adoptopenjdk.net/ or https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html
-
Install Eclipse, (using my link rather than searching for it, since there are many versions): https://www.eclipse.org/downloads/packages/release/2019-06/r/eclipse-ide-java-developers
There are a lot of steps here! Don't try to memorize them, just practice. Whenever you click next, or open a menu, see if you can read it, guess what you should do next, and confirm with these steps. Doing it this way will help you get through it quicker for future assignments.
- Go to the "File" menu and choose "Import"
- Expand the Git Folder and choose "Projects from Git"
- Click "Next"
- Choose "Clone URI"
- Copy and paste https://github.com/amgrubb/CSC223-ValleyBikeSim.git into the URI field.
- Click "Next"
- Wait for it to find "master"
- Click "Next"
- (optional) Choose a directory to store the project.
- Click "Next"
- Choose "Import as general project"
- Click "Next"
- Click "Finish"
- Right-Click on the new project that showed up in the "Package Explorer" on the left. Select "Configure > Convert to Maven Project".
- Expand the "ValleyBikeSim" folder, expand the "src/main/java" and "(default package)" folders.
- Double-Click on
ValleyBikeSim.java
- Run the code. Do one of:
- Press the Green Run button at the top.
- Use the Run menu at the top and select Run.
- Right-Click and choose "Run As > Java Application"
- The "Console" tab on the bottom should show you the output of the program. (When you implement the rest of the game, you will also need to type here... the cursor looks like it's in the wrong place sometimes but don't worry.)