To calculate Compiler Warnings for Java, TICS needs access to the Java compiler javac. There are multiple ways to specify the location of the Java compiler. The following — in order of precedence — locations are tried.
SERVER.yaml
/PROJECTS.yaml
, see below).
JAVA_HOME
environment variable (as used by popular Java build tools such as Ant, Maven and Gradle).
PATH
.
The following properties have to be declared either on SERVER or PROJECT level:
TOOLS: Javac: PATH: 'The path of the Javac compiler'
TOOLS: Javac: PATH: 'C:/Program Files/Java/jdk1.8.0_25/bin/javac.exe'