Scenario : Want to Run Talend 5 and Talend 6 Versions on PC.
Sol : Talend 5 uses JAVA 7
Talend 6 uses JAVA 8.
1)Download JAVA 7 and JAVA 8 versions.
2)Install JAVA 7
3)Install JAVA 8
4)Copy the contents of C:\Program Files\Java\jre1.8.0_112 into some other folder say like C:\Talend\jre1.8.0_112
5)Copy the contents of C:\Program Files\Java\jre7 into some other folder say like C:\Talend\jre7\
6)Uninstall JAVA 7 from install/uninstall programs of Control Panel.
7) I have got TALEND 5 in the below folder.
C:\TALEND5\
TALEND 6 in the below folder
C:\TALEND6\
8)
Changing the .ini file for TALEND 5
we will be having one Talend Studio configuration settings file of windows 64 machine as below.
C:\TALEND5\APM_Connect-Studio-win-x86_64.ini
Open it and modify as below.
-vm
C:\Talend\jre7\bin\javaw.exe
-vmargs
-Xms2048m
-Xmx5120m
-XX:MaxPermSize=512m
-Dfile.encoding=UTF-8
Changing the .ini file for TALEND 6
we will be having one Talend Studio configuration settings file of windows 64 machine as below.
C:\TALEND6\APM_Connect-Studio-win-x86_64.ini
Open it and modify as below.
-vm
C:\APMConnect\Java\jre1.8.0_112\bin\javaw.exe
-vmargs
-Xms2048m
-Xmx5120m
-Dfile.encoding=UTF-8
Note : As you already have installed JAVA 8 it will be doing the needful for other applications that use JAVA.