Can C++ routines be called from Java program
I'm sorry if this is a dumb question, but can C++ code/libraries be called within a Java program?
I'm using Matlab for scientific computing, and a special option may be purchased that outputs an .so file, which can be used as a shared library for standalone C++ code. I wonder if a Java program can access and use such a file?
Matlab provides the ability to port to Java directly but it's another $4000 option that I'd like to avoid if possible using the above scheme.
Thanks in advance, -Gkk