I am able to call C++ code from Java using SWIG but I can\'t find any documentation on how to do the reverse (call Java from C++).
The official SWIG documentation s
Actually this is possible and I have implemented it based on inheriting a virtual class from C++ to Java.
You can find solution in chapter "24.5 Cross language polymorphism using directors" of Java part of SWIG document.