hello I need some help

I want to do a wan connection using a RAS with java.
I tried to call rasapi32.dll
But i doesn't work.

Please help