Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Pass options from jxplorer.sh to launch

open
nobody
None
5
2012-10-15
2012-10-10
Laurent Pointal
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