How to Change the Project Type in Eclipse
Eclipse is a software program geared to Java developers. It contains an XML editor, cross-referencing, code-assist and validation, which are all necessary in creating Java applications. If you need to convert the Eclipse project you're working on to a Java-specific one, you can do so with some basic knowledge of both Eclipse and Java programming.
Instructions
-
-
1
Click "File" and then "Close" to close the Eclipse project.
-
2
Click "File" and then "Open" in your text editor. Locate your project in your root directory. Click the project to open it in your text-editing software.
-
-
3
Locate "<natures></natures>" within the code. Change this code to read by typing the new line of code between "<natures>" and "<natures>":
"<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>"
-
4
Click "File" and then "Save" to save the project.
-
5
Click "File" and then "Close" to close the project.
-
6
Click "File" then "Open" to open the file in your text editor, and click the name of your project in the file window. The project is now changed to a Java-specific project.
-
1
References
- Photo Credit Jupiterimages/Photos.com/Getty Images