Changes between Initial Version and Version 1 of Ticket #22193, comment 38
- Timestamp:
- 2022-07-09T15:32:30+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22193, comment 38
initial v1 39 39 }}} 40 40 41 This caseis the case on Ubuntu 22.04 so `JAVACMD` gets set to `/bin/java`:41 This is the case on Ubuntu 22.04 so `JAVACMD` gets set to `/bin/java`: 42 42 {{{ 43 43 $ bash -x josm --version … … 96 96 }}} 97 97 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: 99 99 {{{ 100 100 $ bash -x /usr/bin/josm --version … … 141 141 }}} 142 142 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`. 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` or `/usr/lib/jvm/default-java/bin/java`. 144 144 145 145 `/usr/bin/josm` in the above used `#!/bin/bash` because that just works as it should.


