![]() |
SmartDashboard 2.0 launch issue
I've been trying to start the new javafx SmartDashboard have run into the following error why trying to launch the jar extracted from the zip:
Code:
C:\Users\TEAM 4334\sunspotfrcsdk\tools\sfx>java -jar sfx.jar |
Re: SmartDashboard 2.0 launch issue
We had a very similar issue. I think the problem is the space in the Username. Can you move the sfx folder to just the C: drive so it doesn't have to go through the User account with the space? When you launch sfx it needs to make two other files, sfxlib.jar being one of them. I forget the name of the other. Even if the files exist already, the space in the Username is problematic for the system finding them.
We ended up making a different user account with a name without spaces and it worked just fine for opening. Although we haven't been able to get it to open with Driver Station. (http://www.chiefdelphi.com/forums/sh...93#post1327293) I hope this helps! |
Re: SmartDashboard 2.0 launch issue
(sfx dev here) hmm, thats very odd. This is the latest released build I assume? Does moving to a non-space user dir work?
|
Re: SmartDashboard 2.0 launch issue
Yes, we also had the same problem with being unable to launch SmartDashboard 2.0. The sfx directory had the sfx.jar file, but issuing the command "java -jar sfx.jar" resulted in an error stating that the file "sfxlib.jar" was not found.
The directory path had a directory with spaces, which was being translated by java into "%20". Moving the sfx.jar file to a directory with no spaces allowed the sfxlib.jar and sfxmeta.jar to be created, and the SmartDashboard was launched. Also tried moving these two files into the directory that had a space, but still received the error that the sfxlib.jar file was not found, and the directory path had "%20" as the path (instead of a space), which is probably why java was unable to find the file. Peter Rivera Programming Mentor RMR 662 - Rocky Mountain Robotics |
Re: SmartDashboard 2.0 launch issue
Quote:
|
Re: SmartDashboard 2.0 launch issue
Putting this line into the FRC DS Data Storage.ini works for me - I have to switch to Java then back to default to launch it. Also it takes a second for it to show up.
DashboardCmdLine = "C:\\apps\\jdk1.7.0_51\\bin\\java.exe -jar c:\\SFX\\sfx.jar" Things to know: 1: I installed java to the directory above so modify accordingly 2: I copied sfx.jar and plugins to a new directory called SFX right off the root of the C: drive. |
| All times are GMT -5. The time now is 20:21. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi