Help with DH key exchange and Blowfish

First of all - HELLO !

I start learning java and i have to say that its amazing language and really easy to understand. But like every1 sometimes we have problems and need help.

So, i`m making a proxy and now have problems with blowfish.
From first packet from server i received p,g serverIV, clientIV, ServerPublicKey.
So now i generate shared key, but i cant figure out how to decrypt packets using shared key and serverIV. So any1 can give me any example how to do that or something similar ?