I think we need more information. Open an HTML file to do what with it? Read it? Parse it? Display it? Edit it? And why should the Process class have anything to do with it? I'm sure we could use the Runtime exec() method to create a Process that could do any number of things to an HTML file by invoking a non-Java executable, but I doubt that's what you want in most cases.