Download

Using Java libraries with c++ code

Hi. I’ve searched about this topic and found some old posts.
has there been any upgrade in how to call java methods in c++ game play code? I have developed some modules in java that i’m not interested in re-implementing in c++.

P.S. this is my first post, I’ve searched for a post on forum rules but i didn’t find any. so i hope this is a proper way of asking questions here.

I’ve been working through this for the last few days and just found this rather useful tutorial: GitHub - Hydrafox/JarTuto: I explain how to communicate with Unreal from Blueprint to C++, and from C++ to Java jar file using JNI

Personally I’m using the gameactivity approach but in the tutorial they talk about how to link in your own jar libs.