I will show how you could create an Eclipse project configured for work with Lotus Notes\Domino.
This will be a simple java class as always.
First of all you need to do one thing out of java programming - add Domino JRE to Eclipse. You could use any JRE you want, but I prefer to use Domino or Notes JRE because it's "native" for our future code. So let's add it and call it "Domino":
You also will need one more information for our program - path to the Notes.jar like "C:\Program Files (x86)\IBM\Lotus\Notes\jvm\lib\ext"
Having JRE in Eclipse and Path to Notes.jar you could run your program (with my class).
And ... you could just import ready Domino Java Project in to Eclipse:
Now you could easily work with project - it is configured for work with Lotus Notes\Domino
look message if interested in implementing