Java is garbage-collected, so there is no way to tell when your destructor would be called (when your object will be garbage-collected).
There is a finalize (inherited) method but you can't rely on that for the exact reasons above (you can't predict when -and if- it will be called).