This is an Applet so you generally run it via a browser.
What do you mean by not being able to run it through DOS? Do you mean you want to launch it from the command line or do you mean you want to run it as a standalone program or something else altogether? Please explain exactly what you are trying to do.
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
ScroogeXHTML - the small and fast RTF to HTML converter library