Java Interface

The Unified API Java interface has been introduced in RMS v9.0 to provide API for implementing licensing and related-functionality in your Java applications. The interface is built over the C libraries and allows you to integrate RMS licensing and related functionality in your Java applications.

Supported Java Development Kit (JDK) Versions

Java 8 (minimum supported version).

Interface Contents: Source Code, JARs, and Samples

The Java interface is available across all the supported platforms of Sentinel RMS and includes:

>Source Code: The <installdir>\Development\Java-Jna path includes source code, which you may use for modification.

>JARs and Samples: The path <installdir>\Samples\Java-Jna has pre-compiled JARs and samples, which are ready-to-use. The following .jar files are included:

.JAR File Description Dependencies on C Language Libraries*
SentinelLicensing.jar Consists of the Sentinel RMS Unified API for licensing your Java applications.

>Windows - lsapiw32/64.dll

>UNIX - liblssrv.so and liblssrv64.so

>Android - liblssrv64.so

>Linux ARM - liblssrv.so and liblssrv64.so

>MAC - liblssrv64.dylib

SentinelLicgenParser.jar Consists of the parse API implementation, used for decoding licenses.

>Windows - lsdcod32/64.dll

>UNIX - libdecod.so and libdecod64.so

>Android - libdecod64.so

>Linux ARM - libdecod.so and libdecod64.so

>MAC - libdecod64.dylib

SentinelLmAdmin.jar Consists of the LmAdmin API implementation, used for terminating client sessions.

>Windows - lslmadmin32/64.dll

>UNIX - liblslmadmin.so and liblslmadmin64.so

>Android - liblslmadmin64.so

>Linux ARM - liblslmadmin.so and liblslmadmin64.so

>MAC - liblslmadmin64.dylib

SentinelLsPmgmtinit.dll Consists of the LsPmgmtAPI implementation, used for persistence creation.

>Windows - lspmgmtinit32/64.dll

>UNIX - liblspmgmtinit.so and liblspmgmtinit64.so

>Android - liblspmgmtinit64.so

>Linux ARM - liblspmgmtinit.so and liblspmgmtinit64.so

>MAC -  liblspmgmtinit64.dylib

SentinelLsPmgmtclean.dll Consists of the LsPmgmtAPI implementation, used to reset and repair persistence information.

>Windows - lspmgmtclean32/64.dll

>UNIX - liblspmgmtclean.so and liblspmgmtclean64.so

>Android - liblspmgmtclean64.so

>Linux ARM - liblspmgmtclean.so and liblspmgmtclean64.so

>MAC - liblspmgmtclean64.dylib

*The libraries mentioned in this column are the corresponding C language libraries that must be redistributed along with the licensed software.