View Single Post
  #9   Spotlight this post!  
Unread 24-01-2015, 11:54
emddudley emddudley is offline
Registered User
FRC #0174
 
Join Date: Feb 2013
Location: United States
Posts: 2
emddudley is an unknown quantity at this point
Re: Eclipse path errors

The wpilib plugin adds some classpath variables to your workspace, so if you've deleted yours or have created a new one, you'll need to add them again.

If you create a new Robot Java Project the wpilib plugin will automatically add the classpath variables. Otherwise, follow the steps below to add them manually:
  1. Open the Preferences window and navigate to: Java > Build Path > Classpath Variables
  2. Add the following classpath variables, substituting <User> with your username:
    • networktables: C:/Users/<User>/wpilib/java/current/lib/NetworkTables.jar
    • networktables.sources: C:/Users/<User>/wpilib/java/current/lib/NetworkTables-sources.jar
    • wpilib: C:/Users/<User>/wpilib/java/current/lib/WPILib.jar
    • wpilib.sources: C:/Users/<User>/wpilib/java/current/lib/WPILib-sources.jar
Reply With Quote