Status: Closed (View Workflow)
Security Level: Default (Default Security Scheme)
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
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]