Could be all kinds of things. Perhaps your code makes some assumption about the current working directory when Runtime.exec runs. Perhaps you're trying to run an executable which isn't on the computer where the applet runs. We could make a longer list but there isn't any point.
Are you getting an exception from Runtime.exec? Don't just say "it doesn't work", find out why not. Look at the Java console in the browser for a start.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Applet runs in eclipse, but when I embed it in html, it doesnt work