Is there any algorithm which will track the eye and i want to move cursor using eye's movement so tell me if there is any algorithm present for cursor movement by eye's movement.
This is a super non-trivial problem. Not just a matter of providing an algorithm. But I'm guessing your looking for a library providing eye tracking implementations. A quick google of "eye tracking java" gave me this:
which lead me to this:
which might be interesting.