I have windows 10 and portable java from https://portableapps.com/apps/utilities/java_portable_64 I launch my MYFILE.jar with a .cmd file containing this:
java -jar MYFILE.jar
I just click on the .cmd and it works.
but this opens a terminal window and then next to it, the software, this takes 2 windows and thus uses to much space. I want the terminal window to close after my .jar is launched. How do I do this?