Most computer based systems include a Java Virtual Machine which runs the Java programs. If you write a Java program then you will need the Java SDK to build it and it should then run on any Java enabled device. If you are trying to use a Java library from C++ or call a C++ library from Java then you need to use
JNI[
^] or
JNA[
^].