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.