Can RI support reboot functionality.
For example if I call Host.getInstance().reboot(), RI goes down but never comes up.
I wanted to know if there is a way to bring up RI from code.
On the RI PC Platform, Host.reboot() just terminates the RI process on your Windows or Linux PC -- so no, it doesn't actually do a reboot. However, you could write a script that just runs the process in a loop -- if the process exits, it will just start up again, similar to a reboot.
Alternatively, you can issue the following command:
This puts the RI into an automated test mode, which automatically restarts the RI process upon termination.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.