Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Continue Working with Eclipse C Projects in NetBeans IDE

DZone's Guide to

How to Continue Working with Eclipse C Projects in NetBeans IDE

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

Is it possible to continue working with C projects created with Eclipse in NetBeans IDE? The answer is: "Yes!"

Follow the steps below to work with Eclipse C projects in NetBeans IDE:

Software used:

  • NetBeans IDE 6.1 Beta
  • Eclipse Europa
  • GCC tool chain
Steps:

1. Create a "New Project" and choose "C/C++ Project From Existing Code":



2. Browse to your Eclipse project and select the Makefile:



3. Browse to the source folder in the Eclipse project. (usually the 'src' folder):



4. Choose Project Name and Folder:



5. Click Finish and examine your new project:



6. Run the project:



7. Observe the Output:



In summary, here I have shown how to work in NetBeans IDE with a simple "Hello World" style C-project created in Eclipse Europa.

 

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}