java - src files not opening in Eclipse -


i installed eclipse. opens , create new java project. project shows on side. try open src file won't open.

  1. first, must create java project

  2. then, can file > new > add 1 or more classes project. implicitly create java source file(s).

  3. alternatively, can add existing files project.

    if you're on windows, 1 easy way drag file windows explorer onto eclipse project.

  4. at point, should able compile , debug java source.

here excellent tutorial getting started eclipse ide:

http://www.vogella.com/tutorials/eclipse/article.html

ps: it's "good practice" create java "package" under eclipse "src" folders, create new classes/add new files under package (instead of directly under "src").


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -