Go to Post hmmm... big open space between arena and pits... thousands of poof balls...thousands of high school kids hopped up on sugar and robotics.... sounds a little dangerous. - Courtneyb1023 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2015, 11:03 PM
AMendenhall AMendenhall is offline
Registered User
FRC #3925
 
Join Date: Sep 2015
Location: Ventura
Posts: 24
AMendenhall is an unknown quantity at this point
Missing FRC Libraries

I installed the FRC update suite and the plugins on a couple laptops. After creating a java project with robot builder, the plugins do not appear under the project libraries. However, when looking in the project build path, the libraries are shown. In the end, these laptops can't access the classes for the robot like Talon and DoubleSolenoid. This issue occurs on both mac and windows. We're running Eclipse Mars and the latest version of the JDK. Note: the software was installed on identical laptops and two out of four of them had this issue.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-04-2015, 07:53 PM
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 325
fovea1959 will become famous soon enough
Re: Missing FRC Libraries

I recall that an Eclipse variable pointing to WPILIB did not actually get set up until the first time you used Eclipse to create some robot "stuff". If you use Eclipse to create a new robot project, do the existing imported ones get the classpath all resolved?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-23-2015, 06:18 PM
randallh randallh is offline
Registered User
FRC #4931
 
Join Date: Oct 2015
Location: Greater St. Louis area
Posts: 15
randallh is on a distinguished road
Re: Missing FRC Libraries

Did you restart Eclipse after installing the plugins? After you install them, you have to restart Eclipse for them to work correctly. If you did, then there are a few things you can check.

First, make sure that Eclipse on all the machines is actually showing the "Referenced Libraries". See this image to see how to check.

Secondly, check the "Robot Java Development" plugin version on all platforms via the Eclipse "Installation Details". If you don't see the plugin in the list, you didn't install it.

Thirdly, check your home directory ("/Users/<username>" on Mac and Linux, and IIRC "C:\Users\<username>" on Windows) to see if it contains a "wpilib" directory. This directory is populated the first time you create a new robot project using the plugins, so if you don't see it verify that you tried creating a new robot project.

Finally, check one of your robot projects to see whether the build path includes the WPILib libraries. Do this by selecting the project, then going to "Project" menu and selecting "Properties", which will open up a dialog window. Select "Java build path" in the left side of that window, and then the "Libraries" tab in the right side of the window. You should see entries for "networktables" and "wpilib" with paths to where those libraries are installed.

If none of these work, then try uninstalling the Eclipse plugins, restarting Eclipse, reinstalling the plugins (carefully checking the update site URL), restarting Eclipse, and then creating a new robot project to see if that helped. If not, then we'd need to know the results of each of the above checks, the exact update site URL, plus the exact versions of: the operating system, JDK (including vendor), Eclipse, and the "Robot Java Development" plugin.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:53 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi