You created the same thread twice. I deleted the one in the C-C++ and left the only Java one here. Now I see you created the same thread again.

Please make sure you avoid creating the same thread over and over again.