Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Change boot order of server/pc using Java

 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic