Terminate process(PID) command

 

If you ever run multiple java projects (microservices) on eclipse. Most of the time you want to start them up all at the same time and luckily eclipse has this feature. Unfortunately what Eclipse doesn’t have is a way to stop or kill all of you java projects(processes) all at the same time. This is useful when you want fresh and clean instances for all my microservices and not have any process in a stale state.

To terminate all of your projects or java processes, do this:

  • Open up terminal and type in this command “killall java”
  • Or open terminal within your eclipse. Open Eclipse, right-click on a project in the Package Explorer panel, hover over Show in, select terminal, and type in this command “killall java”

 




Subscribe To Our Newsletter
You will receive our latest post and tutorial.
Thank you for subscribing!

required
required


Leave a Reply

Your email address will not be published. Required fields are marked *