Executing
`jtreg -jdk:/usr/bin/typo/jdk`
where an erroneous path is passed as the `jdk` parameter, will result in the error message:
"Cannot determine version of java to run jtreg"
A more to-the-point message could be printed pointing out that the java executable that jtreg tried to run, didn't exist. For example:
"No java executable at /usr/bin/typo/jdk/bin/java"
`jtreg -jdk:/usr/bin/typo/jdk`
where an erroneous path is passed as the `jdk` parameter, will result in the error message:
"Cannot determine version of java to run jtreg"
A more to-the-point message could be printed pointing out that the java executable that jtreg tried to run, didn't exist. For example:
"No java executable at /usr/bin/typo/jdk/bin/java"