Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

Eclipse .java file without project and package creation

 
John G Wright
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am beginner in Java and new to Eclipse. I initially used Edit Plus and I feel it very convenient to create .java file and compile it in the command prompt. I recently started using Eclipse but not able to create .java files without project and packages. As I am a beginner , I want to try lot of basic programs to understand the concepts for which packages and project not required.

1) Can .java files can be created and compiled in the Eclipse without project and package creation as I do it Edit plus ?

2) Also, when I tried creating a new project and want to put all the files that into that project. I right clicked the project and click import and selected the files. Now I have many .java files under my project same. I removed Exlcude buildpath for each .java file and tried compiling it. But it shows error in the main line. Though all are simple programs using Println, but I am not able to rectify the errors.

Thanks
GB
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
closing this duplicate. Continue here.
 
    Bookmark Topic Watch Topic
  • New Topic