Cannot build project in eclipse due to build path error #15

Closed
opened 2015-01-14 01:52:37 +00:00 by overlordnate · 1 comment
overlordnate commented 2015-01-14 01:52:37 +00:00 (Migrated from github.com)

Here is a link to an image showing the error.

3 errors

  • The project cannot be built until build path errors are resolved
  • Unbound classpath variable: 'networktables' in project 'RecycleRush'
  • Unbound classpath variable: 'wpilib' in project 'RecycleRush'

This error occurred after you follow the instructions here to install eclipse, the new java jdk and jre, the FRC plugins, and open the Ironriders project github code

We expected to be able to compile and test code

[Here is a link](http://ironriders.org/wp-content/uploads/2015/01/Capture.png) to an image showing the error. 3 errors - The project cannot be built until build path errors are resolved - Unbound classpath variable: 'networktables' in project 'RecycleRush' - Unbound classpath variable: 'wpilib' in project 'RecycleRush' This error occurred after you follow the instructions [here](http://ironriders.org/forums/topic/2015-software-setup-guide/) to install eclipse, the new java jdk and jre, the FRC plugins, and open the Ironriders project github code We expected to be able to compile and test code
overlordnate commented 2015-01-14 02:18:47 +00:00 (Migrated from github.com)

How to fix the errors

  1. In eclipse, right click RecycleRush and click properties
  2. Go to Java Build Path, then to Libraries
  3. Click networktables, then click edit
  4. Click Variable
  5. Click New
  6. Name it networktables, then click File
  7. Go to Collaborate -> Staff Student -> ammyers -> Writeable -> Robotics Club -> Software -> wpilib -> java -> current -> lib
  8. Select networktables.jar
  9. Then press OK back to the Java Build Path page
  10. Click WPILib, then click edit
  11. Click Variable
  12. Click New
  13. Name it WPILib, then click File
  14. Go to Collaborate -> Staff Student -> ammyers -> Writeable -> Robotics Club -> Software -> wpilib -> java -> current -> lib
  15. Select WPILib.jar
How to fix the errors 1. In eclipse, right click RecycleRush and click **properties** 2. Go to **Java Build Path**, then to **Libraries** 3. Click **networktables**, then click **edit** 4. Click **Variable** 5. Click **New** 6. Name it networktables, then click **File** 7. Go to **Collaborate -> Staff Student -> ammyers -> Writeable -> Robotics Club -> Software -> wpilib -> java -> current -> lib** 8. Select **networktables.jar** 9. Then press **OK** back to the **Java Build Path** page 10. Click **WPILib**, then click **edit** 11. Click **Variable** 12. Click **New** 13. Name it WPILib, then click **File** 14. Go to **Collaborate -> Staff Student -> ammyers -> Writeable -> Robotics Club -> Software -> wpilib -> java -> current -> lib** 15. Select **WPILib.jar**
Commenting is not possible because the repository is archived.
No description provided.