Troubleshooting
Problem
The runAntWID(.bat | .sh) script does not recognize Java™ 6 as a valid version of Java, subsequently preventing the module from being built by way of the command-line option.
Symptom
Error seen in the command-line window:
build-project:
[javac] Compiling source files
[javac] javac: invalid target release: 1.6
[javac] Usage: javac <options> <source files>
Resolving The Problem
1. Customer should ensure that they are accessing the correct Java package provided with the version 7 product by explicitly setting the JAVA_HOME environment variable before running the runAntWid script. The Java version can be confirm by issuing the command "java -fullversion" for verbose output.
2. Previous experience has been that build errors are no longer observed when using a directory for module source files that follow sensible naming convention. Try to avoid special characters, empty white space and even long directory structure.
NOTE: The scripting option can always abandoned for the alternative being a manual build executed from within WID tooling.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21469556