Hi Rohit,
You can add the jar in your userlib folder. More information can be found below.
https://docs.mendix.com/refguide/java-programming/