Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change boot order of server/pc using Java

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could anyone please answer this question.
As you know there are several boot options that are available to boot a server/pc
1. Boot from floppy
2. Boot from CD
3. Boot from HDD
and many others.
Is it possible using Java/Any external Java librarary[jar] to change/select the boot order ? Please point me to some doc. I tried google but I could not find anything .Please help.
Any help is appreciated.
Thanks
Deepak
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15284
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are settings that you can normally only set in the BIOS setup screen of a computer. Most operating systems don't even have an API for accessing such settings.

Since Java is platform-independent, you won't find such highly hardware specific things as this in the standard Java API. If you really want to do this, you'll have to write some native code (using JNI).

Changing BIOS settings might be possible, but I wouldn't be surprised if the method to do this depends on the brand of the motherboard and the BIOS. If you want to do this for a specific brand of motherboard or BIOS, look at the website of the manufacturers of those parts if there is an API available for accessing the settings.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic