adding jar at runtime

26 views
Skip to first unread message

Juliano Hausen Oliveira da Costa

unread,
Sep 19, 2020, 12:12:08 AM9/19/20
to Jep Project
Is there  a way to load third party jars at runtime using Jep? To give some context, I have I'm calling same java classes from a python script using jep, but I need to add some others jars to get what I want done, but I don't have access to the java code that implemented jep, so i can only work on the python side of tha application.

Ben Steffensmeier

unread,
Sep 19, 2020, 9:32:20 AM9/19/20
to Jep Project
You can create a URLClassLoader from python that will give you access to the java classes from python. See the conversation here: https://groups.google.com/g/jep-project/c/9qqFU0rQOKo/m/AKv-c2alAAAJ

Juliano Hausen Oliveira da Costa

unread,
Sep 19, 2020, 7:37:38 PM9/19/20
to Jep Project
It worked perfectly

Thanks, Ben.

Reply all
Reply to author
Forward
0 new messages