Does anyone have experience or a good example with this kind of code?

I've written code that does this through sockets. Mainly - sends C++ packets to be decrypted on Java. After decryption the packets are gybrish. (Strings)

I've tried CBS with NoPadding.
Another issue I have which I temprorarly overcome with the NoPadding option is that JAVA would throw a Padding exception when trying to decrypt the block.

This is the first time i'm trying to do something like this so I guess the best thing would be to find a working example of this.