I wonder how can I close (kill) Java running program via eclipse in an orderly manner. I have some classes which implements the finalize method. when I click on the red button (terminate), the finalize method is not invoke.
So how can I close running java program via eclipse, such as the finalize methods will be invoked ?
I need this option in order to close the connections in an orderly manner.