Impact Acquire SDK Java
|
The complete Java part of the interface is provided as a *.jar-archive (mvIMPACT_Acquire.jar) accompanied by a JNI shared library (mvIMPACT_Acquire.java.dll/.so). For details on supported platforms and releases also see here: Device And Operating System Support Across Released Versions
Running example applications which are shipped as part of the Impact Acquire driver package installation should be straightforward if you are familiar with Java make sure that:
class
path
when you invoke the Java compiler(javac executable) or the Java runtime(Java executable)For the ContinuousCapture
example the necessary invocations may look like this
set JAVA_BIN=<path to your Java binary folder> set JAR_ARCHIVES=%MVIMPACT_ACQUIRE_DIR%/bin/x64/mvIMPACT_Acquire.jar cd %MVIMPACT_ACQUIRE_DIR%/apps/Java/ContinuousCapture %JAVA_BIN%\javac -cp %JAR_ARCHIVES% ContinuousCapture.java CaptureThread.java %JAVA_BIN%\java -cp .;%JAR_ARCHIVES% ContinuousCapture
For the ContinuousCapture
example the necessary invocations may look like this
JAVA_BIN=<path to your Java binary folder> JAR_ARCHIVES=$MVIMPACT_ACQUIRE_DIR/lib/x86_64/mvIMPACT_Acquire.jar cd $MVIMPACT_ACQUIRE_DIR/apps/Java/ContinuousCapture $JAVA_BIN\javac -cp $JAR_ARCHIVES ContinuousCapture.java CaptureThread.java $JAVA_BIN\java -cp .:$JAR_ARCHIVES ContinuousCapture
java
or javac
is reported missing / misspelled you didn't define the JAVA_BIN variable correctlymvIMPACT_Acquire.jar
cannot be found either the JAR_ARCHIVES path from the examples above is incorrect OR the Impact Acquire JNI library (on Windows mvIMPACT_Acquire.java.dll
, on Linux libmvIMPACT_Acquire.java.so
) cannot be found in the systems search pathmvIMPACT_Acquire.java.dll
, on Linux libmvIMPACT_Acquire.java.so
) has been found, but one or more of the underlying Impact Acquire libraries (e.g. the mvDeviceManager-lib) is missing in the systems search path