What I'm basically trying to do here, is run a .jar file which is located under
C/Users/-any user here-/appdata/Roaming/-my folder here-/-file name here-.jar
Do I somehow open a CMD and do:
cd appdata/Roaming/<Folder>
java -jar <FileName>.jar
This seems to work when I type it into CMD itself. I can't seem to make it work when running from java program.
I tried to do:
Runtime.getRuntime().exec("cd appdata/Roaming");
And I get an error that the specified directory doesn't exist.