Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
Highlighted
Super Contributor.. ellerm Super Contributor..
Super Contributor..
3117 views

Different Java Versions

I'm setting up a scan job in Jenkins.  SCA 16.20 requires JVM 1.8 where my ANT project requires Java 1.5.  Has anyone experience these types of issues?  If so what did you do to solve them?  I'm using a script for the clean, ANT integration, Translate and Scan using commands such as:

%SOURCEANALYZER% %MEMORY% %LAUNCHERSWITCHES% -b %BUILDID% -clean

%SOURCEANALYZER% %MEMORY% %LAUNCHERSWITCHES% -b %BUILDID% ant -f "D:\Jenkins\.jenkins\workspace\ECA\build\build.xml" clean build

%SOURCEANALYZER% %MEMORY% %LAUNCHERSWITCHES% -b %BUILDID% @%ARGFILE%

%SOURCEANALYZER% %MEMORY% %LAUNCHERSWITCHES% -b %BUILDID% -scan -f %FPR%

Basically I think I need to run the sourceanalyzer commands with Java 1.8 and the ANT command with Java 1.5.

Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.