Prerequisites - DigiBP/digibp.github.io GitHub Wiki

Java-based Projects

The Java Development Kit 8 (1.8.0) must be installed on your machine to run the provided projects containing:

  • Camunda Workflow Engine

Note: Currently only JDK version 8 (1.8.0) is supported

Download Java Development Kit 8 (1.8.0)

If JDK 8 (1.8.0) is not installed on your local machine, then you can download it from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. Download and install JDK 8 (1.8.0) for your operating system.

JAVA_HOME

For completing the JDK 8 (1.8.0) installation which is required form Java-based projects, the JAVA_HOME environment variable must be set.

Note: The following instruction has been taken from http://www.baeldung.com/java-home-on-windows-7-8-10-mac-os-x-linux.

On Windows 10 (and 8)

  1. Open Search and type advanced system settings

  2. In the shown options, select the View advanced system settings link

  3. Under the Advanced tab, click Environment Variables

    Environment Variables Windows

  4. In the System variables section, click New (or User variables for single user setting)

  5. Set JAVA_HOME as the Variable name and the path to the JDK installation as the Variable value and click OK

  6. Click OK and click Apply to apply the changes

Open Command Prompt and check the value of the JAVA_HOME variable:

echo %JAVA_HOME%

The result should be the path to the JDK installation:

C:\Program Files\Java\jdk1.8.0_000

On Mac OS X 10.5 or Newer

  1. Open ~/.bash_profile in any text editor and add:
export JAVA_HOME=$(/usr/libexec/java_home)
  1. Save and close the file.
  2. Open a Terminal and run the source command to apply the changes:
bash source ~/.bash_profile

Now we can check the value of the JAVA_HOME variable:

echo $JAVA_HOME

The result should be the path to the JDK installation:

/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home