Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-257

improve feedback of ant try for OpenJDK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0
    • None
    • None
    • None
    • Ubuntu 17.10

    Description

      After building with `ant` in a cleaned `git` clone, I get the recommendation to run with a 9.x JDK in order to avoid the download of a library. That's not possible intuitively because `env JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64 ant tryme` fails due to `tryme:
      [exec] Cannot find java. Please use the -jdkhome switch.` and I have no idea how to pass the `-jdkhome` switch through `ant`. Please add information to the error message (there's no need to explain it here, I'll just wait for the fix and figure it out from the new feedback).

      experienced with 9.0-alpha-rc2-353-g74d81e7c9

      Attachments

        Activity

          People

            Unassigned Unassigned
            krichter Karl-Philipp Richter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: