Skip to main content

How to create Project in eclipse?

-> After open the new workspace, eclipse displaces welcome page. Close the welcome page. 

Eclipse welcome page

-> Now right click on Project Explorer area at left side of eclipse.


-> Go to  New, click on Project.


-> In New Project window, click on Java Project.


-> Now click on Next.
-> In New Java Project window, enter your project name in Project name text box. Now click on Finish.


-> After click on Finish, in Open Associated Perspective? window click Yes or No. After that Make sure your perspective should be either Java or Java EE. Here i am using Java EE Perspective.


-> Here if you click Yes it opens Java Perspective, if you click No it opens Java EE Perspective. Because default Perspective is Java EE.
-> We can change Perspective by clicking on Java, Java EE icons at top right.


You have created project successfully. 

Comments

Popular posts from this blog

How to create package inside a project?

What Is a Package? A package is a namespace that organizes a set of related classes and interfaces. Conceptually you can think of packages as being similar to different folders on your computer. You might keep HTML pages in one folder, images in another, and scripts or applications in yet another. Because software written in the Java programming language can be composed of hundreds or thousands of individual classes, it makes sense to keep things organized by placing related classes and interfaces into packages. -> Right click on the Project (Make sure you should right click on project, because you are creating package inside the project). -> Go to New. -> Click on Package. -> In New Java Package window, enter package name in Name text box. -> Now click on Finish . -> Now you can see the package inside the project at Project Explorer area. Now your package is ready.

How to create workspace in eclipse?

We have to create workspace to save our java files. -> Double click on the eclipse. -> You can choose any workspace using browse button . -> Click on OK after select the workspace. -> Now eclipse editor will launch to write scripts.