C:\Srikumar\Software\BaseX\BaseX941\basex>java -Dorg.basex.DEFAULTDB=true -cp basex.jar org.basex.BaseX -c"get DEFAULTDB" DEFAULTDB: true
C:\Srikumar\Software\BaseX\BaseX941\basex\bin>basex BaseX 9.4.1 [Standalone] Try 'help' to get more information.
…this can’t work, as properties won’t be persisted, i.e., won’t be available in future BaseX instances. If you want that, you can add the option in your .basex configuration file (see the Wiki document that I have referenced earlier).