The operation cannot be completed because the item “javaApplicationStub” is in use

I am sick of using Frostwire from my computer. As I was trying to remove Frostwire from my system an error appeared in the middle of the uninstallation process.
What do I need to do with this in order to remove the software?

The operation cannot be completed because the item “javaApplicationStub” is in use.
