# Using Java libraries with c++ code

**URL:** <https://forums.unrealengine.com/t/using-java-libraries-with-c-code/100596>\
**Category:** Mobile\
**Tags:** unreal-engine, Android\
**Created:** [September 29, 2017, 3:59pm UTC](https://forums.unrealengine.com/t/using-java-libraries-with-c-code/100596 "2017-09-29T15:59:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_89c6a844](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_89c6a844](https://forums.unrealengine.com/u/anonymous_user_89c6a844)\
**Post date:** [September 29, 2017, 3:59pm UTC](https://forums.unrealengine.com/t/using-java-libraries-with-c-code/100596/1 "2017-09-29T15:59:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [October 5, 2017, 2:32am UTC](https://forums.unrealengine.com/t/using-java-libraries-with-c-code/100596/2 "2017-10-05T02:32:20Z")

</div>

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](https://github.com/Hydrafox/JarTuto)

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