I want to run a java program in Linux and change its working directory to a specific location. I'm a bit of a noob with Linux, so I need quite a bit of help. I managed to figure this much out:
java -jar program.jar
That will run the program in the working directory it chooses. Now I need to find a way to change the working directory. I think this computer is running UBuntu (or however you spell it) but I'm not sure. I'm also running on an account that has severely limited privileges.
and change its working directory- this question is about changing its own working directory too.Java. It has nothing to do with Java, imho, and guess you agree.