View Single Post
  #1   Spotlight this post!  
Unread 04-02-2013, 21:51
Folders's Avatar
Folders Folders is offline
Registered User
AKA: Emmanuel
FRC #1671 (Birdbrains)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Clovis
Posts: 8
Folders is an unknown quantity at this point
Thumbs up Smart Dashboard doesn't show any custom extensions.

TLDR: You're extensions aren't showing up?->Try restarting the JVM!

We're trying to get the SmartDashboard on our driver station to work. When we put the .jar extensions inside the extensions folder, they sporadically showed up. Most of the time, the extensions did not show up on the SmartDashboard. They only worked after the computer was restarted.

It turned out that the problem was with the Java Virtual Machine. When we closed the SmartDashboard, some of the program was left in the cache. When we updated it or when we added new extensions, it tried to use the old information and broke the system completely. So what we did was use the command: (IT ONLY WORKS WHEN the working directory is "SmartDashboard" in program files, so you have to navigate there first)
Code:
java -jar SmartDashboard.jar
This made the code run fresh every time, but it still doesn't work some of the time.

(This is mostly to help people with the same issue)
...
__________________
Emmanuel A.K.A. Folders
Email: Iameman9669@gmail.com
Reply With Quote