Running within it's own directory?

Need help? Post your questions here.

Moderator: moderators

Running within it's own directory?

Postby ethancedrik » Sat Jan 28, 2017 6:07 am

I'm running the self-contained subsonic subsonic-booter-jar-with-dependencies.jar version of subsonic, and I was wondering if I could just make it put all the files and folders it uses in the same directory as the .jar being executed instead of it automatically putting it in the root of the drive.

Is this possible? Can I somehow edit the .jar file to allow for this?
ethancedrik
 
Posts: 3
Joined: Sat Jan 28, 2017 6:04 am

Re: Running within it's own directory?

Postby ethancedrik » Sat Jan 28, 2017 10:22 pm

I managed to do this by editing the bash .sh file, and if you can't run a bash file you can launch the jar with command line arguments, you cannot however make a .jar that does this automatically unless you manually recompile subsonic.

Thanks, this can be closed now!
ethancedrik
 
Posts: 3
Joined: Sat Jan 28, 2017 6:04 am


Return to Help

Who is online

Users browsing this forum: No registered users and 30 guests