i
Local Environment Setup
The steps necessary to setup the local environment to work with Java are described below. After completing these steps, the rule can be included in the Java IDE.
Step 1: Install the Java JDK
Download and install the Java JDK (Java Development Kit).
Step 2: Install an IDE of preference to work with Java
Download and install a Java IDE.
Step 3: Download the Deyel SDK Jar
From the top toolbar in the save submenu of the rule modeler select the option "Download SDK".
Once the jar file has been downloaded from Deyel and the project has been created in a Java IDE, it is included as a library in the project defined in the IDE.
Step 4: Create the project in a Java IDE
In order to create a project in a Java IDE it is necessary to:
•Create a Java type project and specify the Java JDK version to use.
•Within the project:
1.Create a classes folder, where the compiled classes of the advanced rules will be.
2.Create a lib folder, where the previously downloaded Deyel SDK jar will be.
•Associate the classes and lib folders to the project so that the Java IDE uses them as project sources in the new classes.
Guide to create the project in the IntelliJ IDE
Guide to create a project in Eclipse IDE
Step 5: Copy the Deyel SDK Jar to the Java IDE project
The Deyel SDKl Jar, downloaded in step 3, is copied into the lib folder, created in step 4.