| 9 | |
| 10 | === Troubleshooting |
| 11 | ==== I downloaded a zip file, but no installer. How do I get Eclipse? |
| 12 | Eclipse is actually a Java program, not an executable. To use, simply find the program file inside the folder hierarchy and open. As long as Java has been installed correctly, the application will start up successfully. |
| 13 | |
| 14 | For ease of operation, it is usually beneficial to move the folder containing the Eclipse program files to a more appropriate place and/or create a shortcut to the program. |
| 15 | |
| 16 | ==== "No compiler/jdk found" - JAVA_HOME not set correctly |
| 17 | This error usually occurs when the Eclipse reference to the JDK is not set to the right location on the local computer.[[BR]] |
| 18 | |
| 19 | To fix this, go to {{{Window}}} ({{{Eclipse}}} on Macs), {{{Preferences}}}, {{{Java}}}, and under the Java hierarchy, select {{{Installed JREs}}} and in the menu, make sure there is a valid link to a JDK on the local computer. |
| 20 | |
| 21 | ==== Question Still Not Answered? |
| 22 | See [http://wpilib.screenstepslive.com/s/4485/m/13810/l/145002-installing-eclipse-c-java here] for more detailed instructions not covered here. |
| 49 | == 5. Creating a FRC Java Project |
| 50 | 1. In Eclipse, right-click in the open space in the Package Explorer and select {{{New >}}}, and then inside the sub-menu that pops up, select {{{Project...}}}. Selecting {{{Java Project...}}} will not work. |
| 51 | 2. Under {{{WPILib Robot Java Development}}}, select {{{Robot Java Project}}}. |
| 52 | 3. After clicking next, if creating a FRC Java Project for the first time, there will be a prompt for team number. Enter |
| 53 | {{{ |
| 54 | 2537 |
| 55 | }}} |
| 56 | 4. In the next screen, specify a unique, identifiable project name, preferably one that will not be confused with other, similar projects. Enter in a new, custom package hierarchy or leave the default. |
| 57 | 5. Choose a project template: |
| 58 | a. Iterative - cyclic program execution; this template is the most basic and requires the programmer to implement much more |
| 59 | b. Command-Based - event-driven program execution; includes many features FIRST & WPI have developed |
| 60 | c. Simple - ''DO NOT USE'' |
| 61 | 6. Click {{{Finish}}}. |
| 62 | |
| 63 | == 6. Accessing the Subversion Server for the First Time |
| 64 | 1. To open the SVN perspective, select {{{Window}}}, {{{Open perspective >}}}, {{{Other...}}}. Then, select {{{SVN Repository Exploring}}}. |
| 65 | 2. In the perspective, right-click the open space in the {{{SVN Repositories}}}. Select {{{New >}}}, then {{{Repository Location}}}. |
| 66 | 3. In the window that pops up, enter one of the following in the URL field: |
| 67 | Test Repository |
| 68 | {{{ |
| 69 | svn+ssh://jupiter2.raidtech.net/home/svn/test |
| 70 | }}} |
| 71 | Sensors Repository |
| 72 | {{{ |
| 73 | svn+ssh://jupiter2.raidtech.net/home/svn/sensors |
| 74 | }}} |
| 75 | Website Repository |
| 76 | {{{ |
| 77 | svn+ssh://jupiter2.raidtech.net/home/svn/web |
| 78 | }}} |
| 79 | Core Software Repository |
| 80 | {{{ |
| 81 | svn+ssh://jupiter2.raidtech.net/home/svn/first |
| 82 | }}} |
| 83 | Game App Repository |
| 84 | {{{ |
| 85 | svn+ssh://jupiter2.raidtech.net/home/svn/gameapp |
| 86 | }}} |
| 87 | 4. Authenticate using your username and password. Default password for most users is '1234' without the quotes. |
| 88 | 5. Click finish. |
| 89 | |
| 90 | For more information on how to use SVN and subversive, see the [wiki:ConfigurationManagement Configuration Management page]. |