My java processes don't terminate so I need to kill -9 them!


When I run or debug my programs from IDE (Ultimate 2017.3.1 build 173.3942.27) I need to open a terminal an do `ps -fea` and `kill -9 nnnn` because although I terminate run from Idea the program is still running in the background.

This didn't happen before on Community edition!

May you please help? 

thanks a lot , 

PD: happy new year


What OS do you use? How do you start IntelliJ IDEA on your OS?

Does it happen with any application you run, even some hello world one?

Does it happen with the current version available at

  • MacOS (10.13.2)
  • Running from dock 
  • spring boot app > didn't test more apps, I will try
  • Updated to last now: still happens

More info:

when running I have this, could be a problem?

objc[3514]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java (0x1022ab4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1023364e0). One of the two will be used. Which one is undefined.


No, it's unrelated: .

Your Spring Boot app may create some threads that are not properly shut down which is causing a problem, so it could be specific to the app you are developing.

Your Java build is way too old and I'd try a more recent one anyway.


Ok, that was REALLY my fault, I had 152 JDK but JAVA_HOME was wrong...


I am now on 1.8.0_152 but still this happens. 

May you please wait I test on other apps and will let you know if this is a more general behaviour, or happens only in 1 application.

Thanks for great support



sorry for delay in continue this issue

This happens in all apps (Spring Boot) applications I have.

Actually I don't know what information to send but, well, just ask


Please report at, provide the following:

- sample project to reproduce
- the exact steps you perform to reproduce the problem
- idea.log (
- thread dump of the process that can't be stopped (use jstack:


Ok, thanks I will do that.


i just updated to the last version 2018.2 and this issue appeared very annoying! any solution yet?


Please report the issue as described above.


Same issue here... and I am quite doubtful that the problem lies in the application code. Other devs on my Team are pulling from the same repo (for a Spring Boot micro service) and do NOT experience the problem. I am out of time today, but I will try to pull the pieces you need tomorrow and submit them at the link provided. 

I am on OSX 10.12.6, running some build of Java 1.8 and am using CE. 


I have the exact same problem.  Some of my colleagues don't have the problem.

Mac OS Mojave 10.14

Intelij 2018.3, Ultimate

Java 8

Spring boot application in a docker container.


Hello Sabrina,

Please report issue on YouTrack as described above.



I have the exact same problem.  Since Intellij 2018.x. Ultimate

Sometimes project is terminated, sometimes it continues to "run" (just stuck).

Ubuntu16.04 OS.

What is hard for me understand is why "Terminate" option does not "kill" the process (stop it forcibly)? And if it is not "terminate" then maybe introduce such.

Very annoying to kill it manually from terminal every time.


Please report as described at Comments for this thread are closed to avoid duplicate reports.


Post is closed for comments.