Connecting arduino to eclipse (Mac)

Hello Everybody,

I was just trying to connect Arduino to Eclipse(Java) on the Mac side and thought of creating this post if anybody has done this before. Your help would be appreciated.

Main reason of doing this is because I want to have dual displays,Interface in one display and its results in another. I am not doing this in processing with controlIP5 library because of its shortcomings in further complexity. Therefore I transfered my sketches over to eclipse as java has monitor handling libraries.