Go to Post This game is all about dealing with the unexpected and making changes on the fly. - Greg Hainsworth [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 05-07-2013, 22:28
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: 332
fovea1959 will become famous soon enough
smartdashboard.exe not working

well, my students want to learn Java over the summer and figure out if they want to make a break from LV. Things are going generally well (really well!), but having a SmartDashboard problem.

Downloaded the 1.05 Smartdashboard installer from WPI and installed it. Followed instruction to modify FRC DS Data Storage.ini. Don't get the SmartDashboard (any dashboard!).

So, I go to \Program Files\SmartDashboard and double click on the .exe. Nothing happens.

Open a command window, cd there and run it. Nothing.

java -jar SmartDashboard.jar brings it up.

What did I do wrong so that Smartdashboard.exe does not work? Running Windows 7 64-bit....
Reply With Quote
  #2   Spotlight this post!  
Unread 06-07-2013, 08:02
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: smartdashboard.exe not working

The setup tab on the driver station has radio buttons for default, LV, Java, and C++. They run different command lines typical to how the dev environments are setup and you shouldn't have to do the ini change unless your are pretty customized.

The default button runs the ini command line that defaults to the Program Files\FRC Dashboard\Dashboard.exe.

The LabVIEW button runs from where a Getting Started window template will place its build.

Java and C++ buttons both run java -jar from the two unique locations that the installer places them for the language.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 06-07-2013, 11:47
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: smartdashboard.exe not working

Quote:
Originally Posted by fovea1959 View Post
cd there and run it. Nothing.
nothing is printed?
Reply With Quote
  #4   Spotlight this post!  
Unread 06-07-2013, 13:43
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: smartdashboard.exe not working

Quote:
Originally Posted by Greg McKaskle View Post
The setup tab on the driver station has radio buttons for default, LV, Java, and C++. They run different command lines typical to how the dev environments are setup and you shouldn't have to do the ini change unless your are pretty customized.
The smartdashboard installer doesn't go into any of those locations and needs the ini edited per http://wpilib.screenstepslive.com/s/...sion-installer. The smart dashboard installer is required to make a vision processing extension.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-07-2013, 15:55
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: 332
fovea1959 will become famous soon enough
Re: smartdashboard.exe not working

Joe: correct. Nothing is printed; just comes back to the command prompt.

Did some hunting, it appears that SmartDashboard.exe has a dependency on having a 32-bit JRE installed. Put down a 32 bit JRE alongside the 64-bit, now when I run SmartDashboard.exe, the SmartDashboard comes up fine.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-07-2013, 17:21
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: smartdashboard.exe not working

Quote:
Originally Posted by fovea1959 View Post
Joe: correct. Nothing is printed; just comes back to the command prompt.

Did some hunting, it appears that SmartDashboard.exe has a dependency on having a 32-bit JRE installed. Put down a 32 bit JRE alongside the 64-bit, now when I run SmartDashboard.exe, the SmartDashboard comes up fine.
Make sure to follow the directions at the bottom of Joe's link above if you run into trouble with the vision plugin on the SD.
Reply With Quote
  #7   Spotlight this post!  
Unread 07-07-2013, 07:19
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: smartdashboard.exe not working

Quote:
The smartdashboard installer doesn't go into any of those locations
Well thats news to me. The dates on those are beyond the DS, so it looks like someone decided on a new location and the DS was still using the old location that I was given. I consider it a bug and will see if we can get it corrected for the new season. Maybe this time it will stay put.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 07-07-2013, 11:11
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: smartdashboard.exe not working

Quote:
Originally Posted by Greg McKaskle View Post
Well thats news to me. The dates on those are beyond the DS, so it looks like someone decided on a new location and the DS was still using the old location that I was given. I consider it a bug and will see if we can get it corrected for the new season. Maybe this time it will stay put.

Greg McKaskle
The SD client is included with the C++ and Java language updates in the locations the DS looks.

The standalone installer (which is needed to use the vision plugins) installs the SD into a folder in Program Files.
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 11:35.

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