|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Because you got that error and not "command not found" or something similar, I take it you did put it in a separate folder, but I'm just confirming that it does exist there?
When you try to run it, does it create two other .jars, one being sfxlib.jar? Can you open it when you double click on it? When you put the file/folder into the C:\\ drive, did you also copy the plugins folder that was originally with it? |
|
#2
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
Quote:
Nothing. That's the reason I started opening it cmd. Quote:
Sorry for taking so long to respond. |
|
#3
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
What version(s) of Java do you have on your computer? For me I got it working once I uninstalled all versions of Java 6 and updated to the newest one (7 update 51).
|
|
#4
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Where do you even download SmartDashboard 2.0? I can't seem to find a download link for it, and all of the links on the FIRSTForge site are from last year.
|
|
#5
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
The directory is C:\Users\[Your_Username]\sunspotfrcsdk\tools. It will be called sfx.zip. Extract it into another folder. I just did mine into a folder called sfx in the tools directory. See this page for more details. http://wpilib.screenstepslive.com/s/...ch-with-the-ds |
|
#6
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
Yup. It's in the WPILib folder of the workbench update. Silly lack of documentation. >_> |
|
#7
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
"If you have the C++ update installed this is likely C:\Windriver\WPILib\SFX" Under "Locate SFX". Their pictures just show the Java path, but it works the same way. |
|
#8
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
Code:
C:\>java -jar sfx.jar file:/C:/sfx.jar!/jrubyfx/utils/common_converters.rb:29 warning: already initial ized constant ARG_CONVERTER_SUFFIX file:/C:/sfx.jar!/jrubyfx/utils/common_converters.rb:32 warning: already initial ized constant NAME_TO_COLORS file:/C:/sfx.jar!/jrubyfx/utils/common_converters.rb:138 warning: already initia lized constant CONVERTERS file:/C:/sfx.jar!/jrubyfx/utils/common_converters.rb:173 warning: already initia lized constant ENUM_CACHE file:/C:/sfx.jar!/jrubyfx/utils/common_converters.rb:176 warning: already initia lized constant ENUM_OVERRIDES Exception running Application: #<NameError: uninitialized constant JRubyFX::Controller::FxmlLoader> org/jruby/RubyModule.java:2684:in `const_missing' file:C:/sfx.jar!/jrubyfx/imports.rb:71:in `const_missing' file:C:/sfx.jar!/jrubyfx/controller.rb:334:in `get_fxml_loader' file:C:/sfx.jar!/jrubyfx/controller.rb:117:in `load_into' file:/C:/sfx.jar!/jrubyfx/core_ext/stage.rb:82:in `fxml' classpath:jar-bootstrap.rb:74:in `start' org/jruby/RubyBasicObject.java:1536:in `instance_eval' file:C:/sfx.jar!/jrubyfx/module.rb:49:in `with' classpath:jar-bootstrap.rb:73:in `start' file:C:/sfx.jar!/jrubyfx/java_fx_impl.rb:119:in `launch_app_after_platform' org/jruby/gen/InterfaceImpl256959397.gen:13:in `run' C:\>java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) |
|
#9
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Is that the only version of java you have on your machine? Use the Java uninstall tool (http://www.java.com/en/download/uninstallapplet.jsp) to check and remove any previous versions.
|
|
#10
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
|
|
#11
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
It shouldn't, but that doesn't mean it doesn't. What if you try reinstalling it altogether (are you using C++ or Java?)? Or try deleting the other files it makes?
|
|
#12
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Hmm, that is interesting and confusing. Would you mind pasting the sha1sum of sfx.jar, sfxlib.jar and sfxmeta.jar?
Whoa, just testing right now with 7u51 I get a strange error that we only saw on Java 8 but its different to what you have... Would you mind trying with 7u45 if you can? |
|
#13
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Quote:
Code:
denis@denis-Aspire-3830TG / $ sudo java -jar sfx.jar Exception running Application: #<NameError: uninitialized constant JRubyFX::Controller::FxmlLoader> org/jruby/RubyModule.java:2684:in `const_missing' file:/sfx.jar!/jrubyfx/imports.rb:71:in `const_missing' file:/sfx.jar!/jrubyfx/controller.rb:334:in `get_fxml_loader' file:/sfx.jar!/jrubyfx/controller.rb:117:in `load_into' file:/sfx.jar!/jrubyfx/core_ext/stage.rb:82:in `fxml' classpath:jar-bootstrap.rb:74:in `start' org/jruby/RubyBasicObject.java:1536:in `instance_eval' file:/sfx.jar!/jrubyfx/module.rb:49:in `with' classpath:jar-bootstrap.rb:73:in `start' file:/sfx.jar!/jrubyfx/java_fx_impl.rb:119:in `launch_app_after_platform' org/jruby/gen/InterfaceImpl777276342.gen:13:in `run' Code:
64fcdf3b0581b7984f9bb46f445d76327b0c4d4e sfx.jar 1c9eb494fe5b887e13e65a5df6afaee722c15d86 sfxlib.jar acc23b6c9f2dab9ec9f41085c1112d55e9875b31 sfxmeta.jar |
|
#14
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Hmm, the latest sums are
f87153004a148ca2e1af6e855ee61ad9e6dedd21 sfx.jar 8af943793e339c5ada2e01714f82ade68d886fc5 sfxlib.jar ea4181a899de37042f393a5536a143ccc68a510d sfxmeta.jar could you re-download sfx.zip from here and try again: http://frcbuilder.wpi.edu:8190/job/S...tifact/sfx.zip |
|
#15
|
||||
|
||||
|
Re: Getting Smartdashboard 2.0 working
Hi, I am getting the same message, and I don't see the sfxlib.jar file in the sfx.zip file downloaded from the above link.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|