JFCM - Java Fuzzy Cognitive Maps


If JFCM was beneficial to your activity, please consider making a donation via PayPal to demonstrate your appreciation and willing to support next developments.

The amount to donate is up to your choice. Thank you!

Support This Project

Download JFCM

JFCM releases are hosted on Sourceforge, the download page can be found here:



To use JFCM in your project you must make library available in the classpath, i.e. jfcm-core-1.x.x.jar, where 1.x.x is the version number.

Using Ant

[TODO: add Ant instructions]


Using Maven - method 1: JitPack.io

jfcm-core is not yet hosted on Maven Central repository. An easy way to include it in your project is to use JitPack.io, an easy to use git package repository.

This is an example pom.xml for Maven:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">





Using Maven - method 2: install downloaded files into local repository

You can also install jfcm-core in your locale Maven repository:

  • download jfcm-core;
  • keep track of the version number: if the jar file you downloaded is named jfcm-core-1.4.1.jar, then the version number is 1.4.1;
  • install the library in your local Maven repository with this command:
mvn install:install-file -DgroupId=org.megadix.jfcm
  -DartifactId=jfcm-core -Dversion=CURRENT_VERSION -Dpackaging=jar


  • CURRENT_VERSION is the version number of the library (see above);
  • PATH_TO_JAR is the absolute path to the jar file.

Now add the correct dependency:


in the <dependencies> section of your pom.xml file.


Using Maven - method 3: build and install from source code

The last method is to build and install from source code:

  • Maven 3.x is needed;
  • download the project distribution, it's the archive named jfcm-core-1.x.x-project.zip;
  • extract files on your computer;
  • run this command from project root:
    mvn install

After the build ("Build successful" message) you should have JFCM core installed in your repository.