Navigation Bar

Saturday, July 18, 2026

Java Debug : Process Main is Running

When debugging your application if you get Process 'Main' is Running, even after you have stopped the application in the bottom left corner by clicking the Red square button you need to do the following.

I means most probably your OS has locked a ghost java program in the background.

Step 1: Force-Kill the Process via Terminal

On cmd prompt

taskkill /F /IM java.exe

Step 2: Clear IntelliJ's Cache (If Step 1 Fails)

In the main menu, select File, select Invalidate Caches and check the first box (Clear File System Cache and Local History).

Then you can go in debug mode again, SHIFT-F9 , Step Over SHIFT-F8 and Step Into SHIFT-F7.

God's for the day

Three Depressing Things
At two things my heart is grieved, 
  And because of a third anger overcomes me
A warrior in want through poverty,
  Intelligent men who are treated contemptuously,
And a man who turns back from righteousness to sin -
  The Lord will prepare him for the sword.
 Sirach 26:1-4

Gospel teachings of Jesus
The parable of the Lost Sheep 
"Take care that you do not despise one of these little ones;
   for, I tell you, in heaven their angels continuously see the
face of my Father in heaven." What do you think? If a 
  shepherd has a hundred sheep, and one of them has gone
astray, does he not leave the ninety-nine on the mountains
  and go in search of the one that went astray? And if he
finds it, truly I tell you, he rejoices over it more than over
  the ninety-nine that never went astray. So it is not the will
of your Father in heaven that one of these little ones should
  be lost.
Mathew 18:6-8

No comments:

Post a Comment