How to import the examples and aplications as Eclipse projects


Java SE Developent Kit (JDK) >= 8

The Eclipse IDE (

Basic Java programing konowlege


To import the examples, follow the steps bellow:

1º - Download the latest JCL release on our Dowload page:

1.1 - Click "Downloads'

1.2 Then click at the  "JCL samples pack" link to download the ZIP with the Eclipse project of the Examples

2º - Decompress the ZIP file to a known folder:

OBS: The image below shows the decompression using 7Zip, however you can use any archive software you may like.


3º - Now, with the ZIP extracted, you'll have in you folder all the JCL applications and examples compressed in multiple files. You can decopress and import everything at once, but fot the sake of clarity, we'll follow the processes using just one of the applications, the Dijkstra<version_numbering>.rar. You can still import the other aplications and explore their code. To learn how to use them, refer to our Documentation page to find the tutorials for each application. First, extract the Dijkstra<version_numbering>.rar.

Inside the extrated folder there is a folder with "jar" at the end of it's name, containing the example ready to be executed as a JAR file, to do that, double click the file exemplename.jar that is inside the "jcl_app" folder. To understand how the program works, refer to it's Documentation.

OBS: Don't forget that to the correct behaviour of the application, at least one Host must be started. As we mentioned at our tutorial on How to Start a Host on Windows, you don't need to start a Server neither edit the config file, by just running the Host, it auto configures the Server on your cluster. 

The folder which the name ends with "source", contains that source code to that example. To import the code as a project, open the Eclipse IDE:

4º - Click File ->Import

5º - On the opend window, select "Existing project into Workspace" and click "Next >":

6º - Click "Browse...", navigate to the "*source" folder that was decompressed and click "OK":

7º - Confirm that the project is select and click "Finish":

8º - On the Eclipse's "Package Explorer" you will find the project you just imported, navigate to the file

9º -  Right click the "" file, select "Run As" and then click "Java Application"

After the 9th step the aplication will start, however, as we mentioned before, there must be at least one Host running.