Reboot phidgets sbc2

Supporting Java SE version 7 and up
Simon.h
Phidgetsian
Posts: 8
Joined: Wed Apr 17, 2013 7:45 am
Contact:

Reboot phidgets sbc2

Postby Simon.h » Wed May 29, 2013 8:52 am

Hello

I'd like to know if there is any command to reboot a phidgets sbc2 using java?

Thank for answers

User avatar
Patrick
Lead Developer
Posts: 3077
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Reboot phidgets sbc2

Postby Patrick » Wed May 29, 2013 9:12 am

Just run the 'reboot' program. I'm no sure how to make Java run native programs, but it won't be difficult.

-Patrick

Simon.h
Phidgetsian
Posts: 8
Joined: Wed Apr 17, 2013 7:45 am
Contact:

Re: Reboot phidgets sbc2

Postby Simon.h » Thu May 30, 2013 2:16 am

Sorry but I don't understand..

Where can I see native programs?

User avatar
Patrick
Lead Developer
Posts: 3077
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Reboot phidgets sbc2

Postby Patrick » Thu May 30, 2013 9:16 am

http://javarevisited.blogspot.ca/2011/0 ... mands.html

The command you want to run is /sbin/reboot

-Patrick

Simon.h
Phidgetsian
Posts: 8
Joined: Wed Apr 17, 2013 7:45 am
Contact:

Re: Reboot phidgets sbc2

Postby Simon.h » Fri May 31, 2013 1:28 am

Thank you for your help Patrick :)

Bye


Return to “Java”

Who is online

Users browsing this forum: No registered users and 3 guests