X4 Produktdokumentation
Breadcrumbs

Starting the Update Tool

How to start the Update Tool

A backup is automatically created during the update.

However, we recommend that you back up your entire X4 installation before the update.

  1. Download the Update Tool from https://www.softproject.de/de/x4-bpms/downloads/ to a folder outside your X4 BPMS installation.

  2. Open the folder where you saved the Update Tool.

  3. Open the command line interface by typing cmd into the address line of the file explorer.

  4. Start the Update Tool de.softproject.x4.update-<Version>.jar with the command java -jar de.softproject.x4.update-x.x.x.jar.


    Example

    Pfad_zum_Update_Tool> java -jar "de.softproject.x4.update-x.x.x.jar"
    

If the path or file name contains spaces, paste the path or file name into "...".

How to start the Update Tool if Java is not installed

If Java is not installed, you have two options:

  1. Download and install Java :
    You can install a Java Development Kit (JDK). We recommend at least Java 11. You can download JDKs at https://adoptium.net/de/temurin/releases/?version=11.
    After the installation, Java is available in the Windows environment variables and can be used in the command line.

    If you use this option, run the Update Tool using the java -jar command:
    java -jar "de.softproject.x4.update-x.x.x.jar"

    Example with Java installed via download

    Pfad_zum_Update_Tool> java -jar "de.softproject.x4.update-x.x.x.jar"
    


  2. Running Java via java.exe:
    You can use the Java Development Kit that we supply with X4 BPMS.
    To do this, copy the jdk folder with the java.exe file from the <server_directory>\jdk\bin\java.exe folder to another folder outside your X4 BPMS installation, e.g. to the folder where your Update Tool is located.

    If you use this option, you must run the Update Tool with the following command:
    path_to_update_tool>"folder\jdk\bin\java.exe" -jar "de.softproject.x4.update-x.x.x.jar"

Example with java.exe

Pfad_zum_Update_Tool>"Ordner\jdk\bin\java.exe" -jar "de.softproject.x4.update-x.x.x.jar"

If the path or file name contains spaces, paste the path or file name into "...".

The Update Tool guides you through the update process.

The Update Tool starts and guides you through the update process:

image2024-3-4_11-22-33.png?version=1&modificationDate=1709562112885&cacheVersion=1&api=v2&height=250


  1. Enter the number of the update you want to perform, for example, 4.

  2. The Update Tool guides you through the process.

Note on updating custom files

Custom files (e.g. adapters, extensions, modules) that are NOT included in

<server_directory>\wildfly\modules\system\layers\base\de\softproject\x4\extensions\main\module.xml

will NOT be migrated!

You need to manually migrate these files by changing them at the new location

<server_directory>\Server\wildfly\modules\de\softproject\extensions\main\module.xml.

.