Making java code usable from other programming/scripting language

By | June 14, 2018

We are "extending" a product developed by a third party and working with them on that. There's a small problem though. They have some functions (written in java) that they use in their Android mobile app and we need to use these functions in our development too. The other side is not too sure on what is the best way to share the functions/code. Ultimately we need to use those functions in one of our python scripts. Any suggestions on how this should be done? Should we ask them for a java library; a .jar file or something?

I am not sure if I have explained the question clearly but we never had to do any such integration before and so this is new to us and hence the doubts. thanks