Thank You Copeg and Norm for the replies .
First time I heard about the big-endianness of Java , have a couple of Java-books around , not one of them does mention this fact !
One should expect as Java is designed to run on different platforms , the endianness to be dependent on the target-machine or at least as an command-line option for the Javac-compiler ?
Ok now I know , I' ll have to tackle the beast , I have found there is even a java-class which maybe can be used for the job : " bytebuffer " .
Yes indeed computing is a lot of fun !
Greetz.
Eric
--- Update ---
Hello !
Voila , got it right now .
To tackle the endian-problem it is not even necessary to use the bytebuffer-class but simply the "reversebytes"-method of the Integer-class !
By the way : inspecting the first sector of the hard-disk via reading /dev/sda works only in a linux-box , don't know how todo this on an MS-Windows-platform !
Suppose Windows will not even allow it ?
Thanks everybody for all the hints , being aware I'll have a lot to learn .
erics