Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903732

Verify that the java executable exists

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      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"

            lujaniuk Ludvig Janiuk
            lujaniuk Ludvig Janiuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: