Skip to main content Skip to complementary content

Specifying another JVM to launch Talend Studio

If you have more than one JVM installation on your machine, you can specify which one to use to launch Talend Studio for a particular purpose.

Before you begin

Download and install the JDK of the new Java version that you want to use.

Procedure

  1. Go to the root of your Talend Studio installation directory and open the .ini file with a text editor.

    For Linux, the file name is either Talend-Studio-linux-gtk-aarch64.ini or Talend-Studio-linux-gtk-x86_64.ini.

  2. Edit or add the -vm option so it points to the Java executable of the JVM version with which you want to launch Talend Studio.
    Make sure to follow these rules:
    • The -vm option and its value must be on separate lines.
    • The -vm option must be defined before the -vmargs option, because everything after -vmargs is passed directly to the JVM.

    Example

    For example:
    -vm 
    /usr/lib/jvm/<JDK_HOME>/bin/java
    or
    -vm
    /usr/lib/jvm/<JDK_HOME>/lib/server/libjvm.so

Results

Next time you launch Talend Studio, it is using the new Java version. For more information, see Launching Talend Studio.
Then, if you want to check which JVM version Talend Studio is using, open the latest logs located in <workspace>/.metadata/.log. They will show you the Java version used. For example:
!SESSION <timestamp> -----------------------------------------------
...
java.version=17.0.10
java.vendor=Azul Systems, Inc. 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!