This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java and BIOS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java and BIOS" Watch "Java and BIOS" New topic

Java and BIOS

Rob Clark

Joined: Jan 22, 2006
Posts: 7
Can Java work in a low level environment like, booting a machine or data manipulation at the sector level?
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
I don't know for sure, but I doubt it. Even if you could, the high level nature of Java would likely make it the wrong tool for the job.

Get your arms coated in silicon and use assembly.

"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I agree with Rusty. Java is the wrong tool for this job. Partly because such low-level work varies so much between different hardware. Java is a high-level language that is meant to be platform-indepenedent. Even if you could find a way to make Java work at such a low-level, it would lose that. Instead, you should use Assembly or C which are both much better tools for this type of work.

Java API Documentation
The Java Tutorial
Rob Clark

Joined: Jan 22, 2006
Posts: 7
Thank you very much for the response. I had a feeling this was the case, but thought I would verify.
I agree. Here's the link:
subject: Java and BIOS
Similar Threads
final level optimization
Teaching without primitives
Is Groovy an abstraction ?
int data type takes 4 bytes