Calling OpenGL/C++ program from Java

I want to call a C++/OpenGL program from a java program. We want to output a graph of the analysis of some user/data. How do you do this. I’ve tried several things, but cannot figure it out.

You cannot call an c++ from java, since java is software emulated and c++ is not.