Removing an HPA/DCO

I apologize if I am posting in the wrong forum, if there is a better place to post please let me know. I am trying to write a program that will check for an HPA or DCO and then allow someone to able to remove it. I know that some of the ATA hard drive commands you would use are READ_NATIVE_MAX_ADDRESS and IDENTIFY_DEVICE for working with the HPA and of course the DCO has its own set, but I was hoping to find out how to use java to run those low level commands. I've never worked with java before, so any help would be very much appreciated.

flash

[564 byte] By [flasha] at [2007-10-2 9:54:20]
# 1
You might be in the right forum, but you are most likely in the wrong language.Java has no built-in support for (low,low) low-level IO. You would need to write this in C/C++ using JNI (Java Native Interface) or possibly use existing OS applications?
IanSchneidera at 2007-7-16 23:59:07 > top of Java-index,Java Essentials,Java Programming...