Serial Communication through Eclipse C/C+=

The following project may be useful for you:

http://todbot.com/blog/2013/04/29/arduino-serial-updated/