login to unix using java

Hey..i need some assistance to login to unix using a java application. The point is, i need to read a particular file in unix using a java application on windows.

I'm guessing you want to telnet in to the UNIX box - a telnet class will do that.
This is not terribly secure. There are several of them out on the net, I cannot vouch for how well they work.

Because we chose:

A better choice would be to create a share on the UNIX box using samba, requiring authentication. Then the local Windows box can mount/dismount the share.

Couldn't you use ssh / scp from Java as well?