Step 3: write project name and then click finish . Step 4: your project will be created. Step 5: Goto services, and Right click on databases and click new connection. Step 6: In New Connection Wizard, in driver option choose oracle thin and then click next. Step 7: write oracle database username and password what you made there, also click test connection, and then click next and then finish. Step 8: Goto projects open your project(+) just right click of your project libraries and click Add jar/folder and open ojdbc7 here. Step 9: And now right your source code.