4

I want to run a particular class in Ecplise called 'RunCreateNetwork'.

enter image description here

However, when I choose Run as and create new Application Config, it doesn't allow me to choose project, where this class is located.

enter image description here

Give me an advice how to run it, if you can, please.

greg-449
  • 109,219
  • 232
  • 102
  • 145

1 Answers1

5

As Som noticed correctly, your project doesn't seem to be a Java project (for whatever reason). A Java project would have a 'J' in the upper right corner of the Icon.

Check your project configuration if it has a Java nature. How you do this is alread described here.

Community
  • 1
  • 1
André Stannek
  • 7,773
  • 31
  • 52
  • Thank you for the link, Andre. I changed .project in a way, that was described there, but it led to big problems. Is there any possibiliy to run my class without doing that? –  Apr 14 '16 at 16:06
  • @DavidBankom It has to be a Java project. You could backup your work, throw away the project and create a new one where you make sure it's a Java project. – André Stannek Apr 14 '16 at 16:09