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

Verify that the java executable exists

    XMLWordPrintable

Details

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

    Description

      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"

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: