My company uses an application that no longer has maintenance and can not change, it runs with Java 6.0.17, however in all other applications newer versions of Java are needed.
As a solution I made a .bat
file to run the old version only in the application that looks like this:
"C:\Program Files (x86)\Java\jdk1.6.0_17\bin\java" -jar ChoppHouse.jar
But the CMD stays open all the time and if it closes the application closes together.
I would like to know if there is any command to close it without closing the application