- OpenJDK (version depends on target OS)
To install OpenJDK:
- Ubuntu systems:
sudo apt-get install -y default-jdk
Set environment OpenVINO variables:
source <openvino_install>/setupvars.sh
Use Gradle to build openvino-x-x-x.jar
file with OpenVINO Java bindings:
cd openvino_contrib/modules/java_api
gradle build
Use import org.intel.openvino.*;
for OpenVINO Java API 2.0 or import org.intel.openvino.compatibility.*;
for deprecated API.