iluwatar
iluwatar

Reputation: 1803

Eclipse hanging, how to kill it properly?

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

Answers (4)

Ramz_the_dev
Ramz_the_dev

Reputation: 59

Is it a typo : kill -9 {the_copied_pid}

Upvotes: 0

Pritam Banerjee
Pritam Banerjee

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

Uku Loskit
Uku Loskit

Reputation: 42050

You can also use jps -l to get all of the process id's of java processes

Upvotes: 37

Michal Borek
Michal Borek

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

Related Questions