This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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
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.