Thread: Java in 2011!
View Single Post
  #6   Spotlight this post!  
Unread 12-01-2011, 20:40
ksanger's Avatar
ksanger ksanger is offline
Registered User
FRC #0211 (MaK)
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Rochester NY
Posts: 62
ksanger is on a distinguished road
Re: Java in 2011!

I was able to download the wpilib today from http://firstforge.wpi.edu/sf/frs/do/...cts.wpilib/frc

But I still had problems. I had to uninstall the last version (of the add-ins). Then when I tried to add them in Netbeans tries to go out to the net. There were updates available for Netbeans too. Or for some of its built in add-ins.

I now have CANJaguar in the wpilibj so I know its using the latest and greatest, but people will need to know how to load up a system that is offline.

Here is the line in my Java program import edu.wpi.first.wpilibj.CANJaguar;


My first attempts failed. Without uninstalling first, then restarting Netbeans, I was asked if I wanted to replace the same file with the new one? When done the CANJaguar didn't show up in the java include statement. Another time I was offline and it hung. The last time I extracted all of the files, then moved the .nmb files to their own folder, then added them into Netbeans. The time before that Netbeans might have picked up the .xms and tried to reload 2010's code? I think. Don't know for sure. Will never ever really know what Netbeans does.

Good Luck.
Reply With Quote