It is possible to have more than one JVM installation on your machine and to use another JVM to launch Talend Studio for a particular purpose. This section shows how to specify another JVM to launch Talend Studio.
- Create a .bat file under the Talend Studio installation directory, for example, studio_startup.bat.
Add the command Talend-Studio-win-x86_64.exe -vm
<JDK_Directory> in the .bat file, where
<JDK_Directory> is the installation directory of
Warning: If the installation directory of JDK contains a space, make sure it is enclosed with quotation marks, for example, Talend-Studio-win-x86_64.exe -vm "C:\Program Files\Java\jdk-11.0.12\bin". Otherwise, you will see an error message after running the .bat file.
Save the .bat file and double-click it to launch Talend Studio.
Tip: You can also launch Talend Studio from the command prompt by opening the CMD window, changing to the Talend Studio installation directory, and executing the command Talend-Studio-win-x86_64 -vm <JDK_Directory>.