p≡p for Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
heck 35861db3b7 Tests: Add JNI-119 - enter_device_group() 2 years ago
android JNI-106 Android build: update to use current Makefile and api. 2 years ago
androidTests Update gradle versions and engine version 4 years ago
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 2 years ago
src Add enter_device_group() 2 years ago
test Tests: Add JNI-119 - enter_device_group() 2 years ago
utils CodeGen: New enhanced enums, now all enums got .toString(), all enums can have .getInternalStringValue() (This was needed to avoid mapping table in the app, for "casting" Ratings to Engine internal string values for X-Opts .e.g) 2 years ago
.hgignore merge in default branch 2 years ago
LICENSE.txt switching to AGPL 6 years ago
Makefile add Makefile targets install/uninstall (to $PREFIX) 2 years ago
Makefile.conf And suddenly my linux box javac needs "-encoding UTF-8", well, cant hurtbeing explicit about that in general. 2 years ago
README.md Build config, added foo_PATH vars, for more flexible reuse of paths 3 years ago
local.conf.example sensible build defaults 2 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


Build configuration will be the result of including these files in the following order:

  • Makefile.conf - Defaults
  • local.conf - optional cfg (overwrites existing values)
  • src/local.conf- optional cfg for src dir (overwrites existing values)

An example local.conf looks like this:





The the foo_PATH variables will be turned into compiler directives (-I / -L), which can be directly set by just omitting "_PATH" (e.g. ENGINE_INC). They will take priority.

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:

make src

On macOS:

make src

(The GNU Make distributed with macOS might be too old, in this case install GNU Make "gmake" from macPorts).