How To Install JavaPOS-SPF-Test (Windows)

You need only the following files from the project root: Even if the services you like to test uses JavaPOS-SPF, the following additional file from the JavaPOS-SPF project must be present in the jar folder: As long as a single jar file for JavaPOS 1.16 is not available, the snapshot jar files for javapos-contracts, javapos-controls and javapos-config-loader must be present in the jar folder as well. See the JavaPOS-SPF wiki for details, downloads can be made from the corresponding sub-folders of https://oss.sonatype.org/content/repositories/snapshots/org/javapos/.

If the device you like to test uses COM ports for communication (no matter if real COM ports, via Usb2Serial or Bluetooth) via the specific JavaPOS-SPF interfaces, you need one of

from the JavaPOS-SPF project and the corresponding jar files from project JNA (version ≥ 5.5, needed by SerialIOJNAWindows.jar), JSerialComm (version ≥ 2.6, needed by SerialIOJSerialComm.jar) or jSSC (version ≥ 2.7, needed by SerialIOJSSC.jar).
Currently, recommended for serial communication are SerialIOJSerialComm.jar in combination with jSerialComm-2.6.2.jar.

Since you like to test some device services, you need the corresponding jar files as well.

If you like to use one of the device simulators of JavaPOS-SPF, add the corresponding jar file as well.

In addition, you need the jar files from the following projects:

Here the steps for installation: That's all! Start JavaPOS-SPF-Test.cmd to start your tests.

How To Install JavaPOS-SPF-Test (Linux)

The steps are similar to those for installation on Windows. You need only the following files from the project root: Even if the services you like to test uses JavaPOS-SPF, the following additional file from the JavaPOS-SPF project must be present in the jar folder: And as long as JavaPOS 1.16 is not available, the following jar file from the JavaPOS-SPF project must be present in the jar folder as well: Keep in mind: When a JavaPOS version 1.16 becomes available, remove Jpos116Dummy.jar from the jar folder.

If the device you like to test uses COM ports for communication (no matter if real COM ports, via Usb2Serial or Bluetooth) via the specific JavaPOS-SPF interfaces, you need one of

from the JavaPOS-SPF project and the corresponding jar files from project JNA (version ≥ 5.5, needed by SerialIOJNALinux.jar), JSerialComm (version ≥ 2.6, needed by SerialIOJSerialComm.jar) or jSSC (version ≥ 2.7, needed by SerialIOJSSC.jar). if you use SerialIOJNALinux.jar, it can be necessary to create a property file de.gmxhome.conrad.JNALinux.JnaLinuxSerial.properties as well.
Currently, recommended for serial communication are jar\SerialIOJSerialComm.jar in combination with jSerialComm-2.6.2.jar.

Since you like to test some device services, you need the corresponding jar files as well.

If you like to use one of the device simulators of JavaPOS-SPF, add the corresponding jar file as well.

In addition, you need the jar files from the following projects:

Here the steps for installation: That's all! Start JavaPOS-SPF-Test.cmd to start your tests.

Where Are The Necessary Jar-Files?

You can get binary versions of a Java runtime environment at https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot .
You can get binary versions of Java FX at https://gluonhq.com/products/javafx/. Keep in mind that OS and architecture must match the OS and architecture of the Java RE.
You can get binary versions of log4j 1.x at http://www.apache.org/dyn/closer.cgi/logging/log4j/1.2.17/log4j-1.2.17.zip.
You can get binary versions of xalan-j at https://archive.apache.org/dist/xml/xalan-j/binaries/xalan-j_2_7_1-bin.zip .
You can get a binary version of JavaPOS 1.15.1 at https://search.maven.org/search?q=org.javapos .
You can get binary versions of jSerialComm 2.6.x at https://fazecast.github.io/jSerialComm/ or a get binary versions of JNA 5.5.x at https://github.com/java-native-access/jna.