Menu

#467 command line -D switch not obeyed

v11
closed-fixed
nobody
1
2009-12-08
2009-12-06
No

These options are documented and displayed after java -jar Jmol.jar -h
but do not work; the text after '-D' is taken as a filename to load
Jmol app, 11.8.11 and 11.9.6

java -jar Jmol.jar -Duser.language=FR

java -jar Jmol.jar -DJmolConsole=false

Discussion

  • Bob Hanson

    Bob Hanson - 2009-12-07

    I don't think any of the D options have been functional since at least Jmol 10. They should be removed from the documentation, I think.

    Bob

     
  • Bob Hanson

    Bob Hanson - 2009-12-07
    • priority: 5 --> 1
     
  • Bob Hanson

    Bob Hanson - 2009-12-08

    I stand corrected. This works fine. The -D flag must come before the -jar flag.

    java -Duser.language=FR -jar Jmol.jar

     
  • Angel Herraez

    Angel Herraez - 2009-12-08

    Oh, yes, you're right! I should have known better, since I tested this time ago and it's so documented in the Wiki.
    I have removed the '-DJmolConsole' option from the help (since it's not operational and can be covered by the -s -j -J script options) and modified the '-Duser.language' help to stress its correct position.

     
  • Angel Herraez

    Angel Herraez - 2009-12-08
    • status: open --> closed-fixed
     

Log in to post a comment.