Changes between Initial Version and Version 1 of Ticket #22193, comment 38


Ignore:
Timestamp:
2022-07-09T15:32:30+02:00 (3 years ago)
Author:
sebastic

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22193, comment 38

    initial v1  
    3939}}}
    4040
    41 This case is the case on Ubuntu 22.04 so `JAVACMD` gets set to `/bin/java`:
     41This is the case on Ubuntu 22.04 so `JAVACMD` gets set to `/bin/java`:
    4242{{{
    4343$ bash -x josm --version
     
    9696}}}
    9797
    98 `JAVACMD` will then the set to the openjdk path that `/etc/alternatives/java` points to:
     98`JAVACMD` will then be set to the openjdk path that `/etc/alternatives/java` points to:
    9999{{{
    100100$ bash -x /usr/bin/josm --version
     
    141141}}}
    142142
    143 Because `$JAVACMD -version` is used since r18497 to detect the version instead of relying on the path to contain it, the VM arguments also get set for other JREs like `${JAVA_HOME}/bin/java`.
     143Because `$JAVACMD -version` is used since r18497 to detect the version instead of relying on the path to contain it, the VM arguments also get set for other JREs like `${JAVA_HOME}/bin/java` or `/usr/lib/jvm/default-java/bin/java`.
    144144
    145145`/usr/bin/josm` in the above used `#!/bin/bash` because that just works as it should.