About DOS, or as it is called nowadays (at least as
far as I know, the console.
Java will run in a console window (looking exactly and
having the feel of DOS. This is an excellent way to
start learning Java, probably the way everybody once
started their journey. This might not be what you
asked for, but I just wanted to point this out, that
this is the way you should start programming.
For example, open a console window, it's called the
same nowaday in Unix, Linux and Windows. Try out some
simple algorithms and input and export some strings.
Then, when you are ready, pop up an AWT window, then
go on to the Swing package for better performance.
Java was made for TV set top boxes, household items,
cellphones etc, so if you wanna program in a "DOS" or
console it's probably no problem, now I don't know
about your disk thing there, but try Java in a regular
environment first.