Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4270

build blacklists JDKs other than version 1.5 or 1.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.8.7, 1.9.3
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      openjdk version "1.7.0"
      OpenJDK Runtime Environment (build 1.7.0-root_2010_12_01_03_30-b00)
      OpenJDK 64-Bit Server VM (build 20.0-b02, mixed mode)
      FreeBSD 8.1-RELEASE-p1 amd64

      Description

      Attempting to build OpenNMS on a system with OpenJDK 1.7 installed results in the following error message

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project opennms: An Ant BuildException has occured: The following error occurred while executing this line:
      [ERROR] /opennms/build.xml:16: Your Java version (java.version = 1.7.0 java.vm.version = 20.0-b02) is not supported. The
      [ERROR] build system is currently designed and tested to work with Java
      [ERROR] versions 1.5 and 1.6. You can try to work around this error by
      [ERROR] modifying the java.check target in the build.xml file.

      The attached patch adds 1.7 to build.xml
      [ERROR] -> [Help 1]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: