Menu

#3 Pass options from jxplorer.sh to launch

open
nobody
None
5
2012-10-15
2012-10-10
No

Hello,

trying to store JXplorer configurations in its own directory (and not in my home), I found the -Djxplorer.config=/path/to/directory option. I tried to give this option to jxplorer.sh, but the script dont consider options except "console".

I patched the script line 45 into:
JXOPTS="-Dfile.encoding=utf-8i $JXEXTRAOPTS"
And simply specify the "-Djxplorer.config=/path/to/directory" via JXEXTRAOPTS envvar from an external script.

(other solution would be to pass jxplorer.sh arguments to java...)

Discussion


Log in to post a comment.