1. Check that the Java Architect module and the JDK 8 library are installed in your project

  1. In the Modelio tool bar, click on the "config Open the project configurator" button.

  2. Select the "Modules" tab

  3. Check that the Java Architect is enabled in the project’s modules list

java architect module
  1. Select the "Libraries" tab

  2. Check that the JDK 8 model component is present in the local libraries list

jdk8 library

2. Check Java Architect module parameters

  1. Back in the "Modules" tab, select the Java Architect module.

  2. Go to the "Project’s modules parameters" table,

  3. Look for the "Java Architect/General/JDK version" parameter.

  4. Check it is "Java 8"

jdk version 8
  1. In the "Java Architect/Directories" section,

  2. Check the "JDK path" and correct it if needed.

jdk path 8
Note You will need a Java 8 JDK installed on your workstation. You may download one at: https://adoptopenjdk.net/?variant=openjdk8

3. Check the reverse class path

Once finished, let’s update the reverse class path to include the reversed libraries:

  1. Right click on the root package

  2. Select moduleJava Architect→configurationgroupConfiguration→editclasspathEdit accessible classes

03 edit reverse classpath
  1. In the dialog, check that the following libraries are present:

    • $(JDK Path)/jre.lib/rt.jar

This library should have been added automatically when setting the JDK path in the module parameters.

  • javadesigner-2.2.0.jar

This library should have been added automatically when setting the Java version. See building java project for more informations.

  1. If one of the libraries is missing:

    1. click on the first toolbar button "jarfile Add external jar"

    2. In the file browser, find and select SWT library .jar files.

    3. Validate the file browser dialog with the 'OK' button

  2. Validate the dialog with the 'OK' button