p≡p for Java
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Hussein Kasem 484c7a4a1f JNI-81: Arm64 first approach 4 years ago
android JNI-81: Arm64 first approach 4 years ago
androidTests Update gradle versions and engine version 5 years ago
src JNI-81: Arm64 first approach 4 years ago
test Move from org.pEp.* to foundation.pEp.* 4 years ago
utils JNI-81 Add missing file to build openssl 4 years ago
.hgignore Extract status list from pEpEngine.h instead of having them hardcoded. 4 years ago
LICENSE.txt switching to AGPL 7 years ago
README.md Add link to wiki documentation 4 years ago


p≡p JNI Adapter

More complete developer instructions can be found here: https://dev.pep.foundation/JNI%20Adapter/Tutorial.



To set up yml2 properly, consult the documentation of pEp Engine (linked below). yml2 is a build dependency of pEp Engine.

C and C++ compiler

Any gcc or clang distribution offered by your OS is fine.

pEp Engine

Instructions for obtaining the pEp Engine can be found on https://pep.foundation/dev/repos/pEpEngine/file/.


Instructions for obtaining libpEpAdapter can be found on https://pep.foundation/dev/repos/libpEpAdapter/file/.

Java 8 (or newer) JDK

Download Oracle Java from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.

OpenJDK can be installed from macports on macOS with one of the following commands:

sudo port install openjdk8
sudo port install openjdk11


Customization of the build can be done in src/Makefile.conf, or in a file src/local.conf which is not part of the source code distribution.

An example src/local.conf looks like this:





Depending on what is already set in your environment, or can be found in your default include/library paths, setting any of these variables may be optional on your platform.

Now, build the Adapter with

On Linux:

cd src

On macOS:

cd src

(The GNU Make distributed with macOS is too old, install GNU Make "gmake" from macPorts).