Reputation: 1803
Sometimes my Eclipse hangs and I need to kill it violently. However, I have been unable to do it properly. It seems that kill -9 does not actually shut it down in a proper way since I can still see the hanged window. What command sequence would kill my Eclipse properly so I could restart it?
I am running Ubuntu 12.10 and Eclipse 4.2(Juno).
Upvotes: 11
Views: 53889
Reputation: 18968
Based on the answer of Uku and Michael you can do the following:
On your terminal first run:
jps -l
Check the pid of the process that is running Eclipse and copy the pid.
Then kill the process id by running:
// use the actual process id
kill -p {the_copied_pid}
Upvotes: 7
Reputation: 42050
You can also use jps -l
to get all of the process id's of java processes
Upvotes: 37
Reputation: 4634
You need to kill the javaw
process on which Eclipse runs (usually it is the one with about 1GB memory usage :) )
Upvotes: 16