File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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

Change boot order of server/pc using Java

Deepak Jain
Ranch Hand

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

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868

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:
subject: Change boot order of server/pc using Java
Similar Threads
WAS 6.1 JDBC problem
starting apache manually
wireless and wired sending
Windows 2000/XP dual boot
Booting the machine when changing WAR Classloader Policy