File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Eclipse .java file without project and package creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Eclipse .java file without project and package creation

John G Wright
Greenhorn

Joined: Oct 25, 2012
Posts: 18
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

closing this duplicate. Continue here.


[My Blog]
All roads lead to JavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse .java file without project and package creation
 
Similar Threads
Using resource files from external location
how to include package in another package in jBuilder
Eclipse plugin - MultiPageEditorPart
Setting up a Java project in eclipse
Newbie Eclipse PlugIn Development