Skip to main content Skip to complementary content

Configuring JSL

Procedure

  1. Download the JSL archive from this website.
  2. Unzip it in the directory of your choice.
  3. Go to the bin folder.
  4. If the jsl_static64.ini file does not exist, copy the jsl64.ini file and rename it to jsl_static64.ini.
  5. Copy the jsl_static64.ini and jsl_statif64.exe files at the root of the Talend CommandLine installation directory.
  6. Open the jsl_static64.ini file to edit it.
  7. At the beginning of the file, you can see different names: appname corresponds to the name of your application, servicename corresponds to the name you want to give to the service and displayname corresponds to the name that will be displayed when creating the service.
    If you are not satisfied with those default names, edit the part that is after the = sign according to your needs.
    Under this area, you can see that, by default, the JAVA_HOME environment variable is pointing towards the JRE path.
    [java]
    ;Path to the java runtime used
    ;If this option is not used the default from the registry will be used
    ;jrepath=..\..\..\jdk16
    jrepath=C:\Program Files\Java\jreX.X.X_XX
    This path is set in the [java] part of the .ini file. If the default path is not the path of the installation directory of your application, edit the part that is after the = sign and write this path. In this example, X.X.X_XX refers to the version of Java.
  8. Uncomment the following line to define the type of JVM to be used:
    jvmtype=server
    Next time the service starts, the jvm.dll file located in the <Java_Path>\jre\bin\server directory will be used.
  9. Save your changes and close the file.

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!