Arduino - Eclipse Serial communication

Hi dear friends

today i am tring to talk my arduino from the eclipse
i know i need to have a serial library for eclipse
i try this one

but it does not work
do u have any suggestion?

i want to do something like this

but it does not work do u have any suggestion?

It almost certainly DOES work. It might not perform the way that you think it should, but that is not a definition of "not working".

You need to explain what it actually does, and how that differs from what you want it to do.

Also note that you posted in the Programming Questions section, not the Whining and Complaining section. That means that we expect to see some code.