Hello, today i will show you how to create java project with myeclipse. It is same in eclipse, but i use myeclipse so i just show you how to create it with myeclipse.
You need goto http://www.eclipse.org/downloads/ to download eclipse in a zip file. Unzip the downloaded zip file into a folder and create a shortcut for eclipse executable file in desktop. Then you can click the shortcut to start eclipse.
After launch eclipse.
1. Click Window —> Preferences in the top toolbar.
2. Click Java —> Installed JREs in left panel of the popup window.
3. Check whether the jdk1.7 is added or not in right panel.
4. If not, click “Add” button to add jdk1.7(should be jdk, not jre)
Now we can create our first java project using myeclipse.
First, you need to open the myeclipse enterprise workbench. After you open it, Click File —> New —> Java Project.
And then, input the project name Dev2QASampleCode because my project is used to create selenium webdriver example code for my website dev2qa.com, so i just use the name Dev2QASampleCode.
Select the location where you store the jave code for your project. I choose following directory. C:/Workspace/iwriter_articles/dev2qa.com/articles/SourceCode
Then click next, You can see default src folder and bin folder under Dev2QASampleCode. We do not need to add any jar library now, we will add them if we need them later. Then click finish button, now the project has been created, you can create example java code for dev2qa.com now. Thanks.
Following is a youtube video for above process.