0

I'm executing a java application through a .bat file and it's executing as well. But sometimes the console stops to show the logs (The process is stopped) and pressing enter in the console the process returns its execution. The program doesn't need user interaction and the problem occurs randomly.

I can't put prints here because the network is closed. I've tried to set thread priorities to MAX_PRIORITY and no success.

The application is running on Windows 10 x64, and JRE 1.8.

The script into .bat is:

java -Dfile.encoding=UTF8 -jar myapplicationname.jar
Denys Wylliam
  • 109
  • 2
  • 11

1 Answers1

0

I suspect you activated 'quick edit' on the console. If I am right the window title might say "select" while the application is frozen. This is not related to Java.

How and why does QuickEdit mode in Command Prompt freeze applications?

Hiran Chaudhuri
  • 3,164
  • 1
  • 11
  • 25