Use In Eclipse

JForex-SDK maven project uses the latest JForex-API version that is available in Dukascopy public repository. To start working with a JForex-SDK maven project in Eclipse:

  1. Download the latest version of Eclipse IDE for Java Developers

  2. Download the eclipse:maven project and unpack the zip file.

  3. Import the project as a Maven project:


  4. Locate the folder where the zip file got unpacked:


  5. Locate the, change in the source code userName and password to the ones of your account and select Run As -> Java Application: Maven3

One can update the project to use the latest JForex-API version, simply by changing the DDS2-jClient-JForex dependency version in the pom.xml configuration file to latest one that is available in Dukascopy public repository.

Note for Proxy users: If you access the internet through a proxy mind that you will need to add the proxy settings to the maven configuration. You can find the maven configuration path by selecting in Eclipse Window -> Preferences -> Maven -> User settings. If the settings.xml is not there simply create it there and then add proxy configuration to the file.

Change JForex-API version

If you want to use your JForex-SDK project with another JForex-API version, you have to know the corresponding DDS2-jClient-JForex version. JForex-API -> DDS2-jClient-JForex versions that are available in the public repository map as follows:

  • ->
  • -> 2.29
  • -> 2.30
  • etc

Thus for using the project with JForex-API, you have to change the version number of DDS2-jClient-JForex in pom.xml file to 2.29 and then rebuild the project.

Check maven plugin

Eclipse IDE for Java Developers gets distributed with the maven plugin, thus it should be available with no additional installation required. In either case, one can check if the plugin is there, by selecting Help -> About Eclipse -> Installation details and finding in the list m2e - Maven integration in Eclipse. One can download the plugin here - maven plugin.

The information on this web site is provided only as general information, which may be incomplete or outdated. Click here for full disclaimer.