aspose file tools*
The moose likes Java in General and the fly likes Change boot order of server/pc using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Change boot order of server/pc using Java" Watch "Change boot order of server/pc using Java" New topic
Author

Change boot order of server/pc using Java

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
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


SCJP, SCWCD, SCBCD
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14153
    
  18

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Change boot order of server/pc using Java