I tried to make the title as descriptive as possible, but im basically trying to locate javaw.exe
because when I launch my JAR cmd only finds java.exe
but the prompt window is ugly and I don't want it there.
What works:
java -jar myJar.jar
What I'm trying to do
javaw -jar myJar.jar
What also works:
JAVAWPATH\javaw.exe -jar myJar.jar
I'm trying to make the program adapt to any computer automatically, since I don't know if javaw will always be in the same location.
So I have managed to locate a bunch of "javaw.exe" files using
WHERE /R c:\ *javaw.exe
I want to select one of the returned paths and set some kind of string variable with which I can then: elevate MYstringPATHtoJAVAW -jar myJar.jar
.