This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If not, you may be trying to "run before you can walk". Try searching the web for "eclipse tutorial" and following the steps in any tutorial you like. Make sure you have got used to the basic steps of creating projects, compiling, testing and running stand-alone code. Once you understand at that level, then you can look into using some of the many tools to run your code in an application container.