If you want to simulate the action of windows using the correct apllication to open a given file type when you double click on a file then you really need to find the file association from the registry (assuming you are writing this just for the windows platform) and use the appropriate application in the call to execute()

I keep seeing this post several times. XYZ, Java ranch has thousands of visitors ... etc. Why not simply enforce this policy at registration time and simply reject any logins of older login ids which do not conform with the new policy?

Here is a quote from M & R "A finalizer can catch and throw exceptions like other methods. However, any exception thrown but not caught by the finalizer when invoked by the garbage collector is ignored. The finalizer is only called once on an object, regrdless of being interrupted by any exception during its execution, In case of finalization failure the object still remains eligible to be disposed of at the discretion of the garbage collector(unless it has been resurrected)