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.
first, must create java project
then, can file > new > add 1 or more classes project. implicitly create java source file(s).
alternatively, can add existing files project.
if you're on windows, 1 easy way drag file windows explorer onto eclipse project.
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
Post a Comment