| For documentation: I have injected the following variable, which is picked up by the "dependency-check.sh" : JAVACMD=/MyJdkDir/bin/java This way it does not affect other build steps that require a different JDK, to facilitate legacy applications. For future reference(New Feature) an extension of the Dependency-Check plugin to point which JDK installation to-be-used would be a plus. A similar effort has been done in the "sonar-scanner-jenkins". Thank you for the pointers Steve! |