Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse compilation without packages and project creation(Eclipse Beginner)
Eclipse compilation without packages and project creation [message #957867] Thu, 25 October 2012 15:03 Go to next message
geek bits is currently offline geek bitsFriend
Messages: 1
Registered: October 2012
Junior Member
Hi all !

This is my first post @ Eclipse and I am new to Eclipse. I am a beginner in Java. I had been using Edit Plus . I create .java files in Edit Plus and compile and run in the command prompt. I find this very convenient.

Though the same can be done in Eclipse too, but by default, I need to create a New Project and then Package and Class file and then creating .java files. Compiling and running can be done in Eclipse itself or in the command prompt.

I do not need project and packages as of now as I am beginner , I am trying to get comfortable in java by trying with lot of basic programs in java for which packages and projects not needed.

My question is : Can we create .java files without creating project and packages ( as I used to do in Edit Plus ) and save it and compile it in command prompt ?



Thanks & Regards
Geek Bits
Re: Eclipse compilation without packages and project creation [message #959169 is a reply to message #957867] Fri, 26 October 2012 13:56 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/26/2012 07:43 AM, geek bits wrote:
> Hi all !
>
> This is my first post @ Eclipse and I am new to Eclipse. I am a beginner
> in Java. I had been using Edit Plus . I create .java files in Edit Plus
> and compile and run in the command prompt. I find this very convenient.
> Though the same can be done in Eclipse too, but by default, I need to
> create a New Project and then Package and Class file and then creating
> .java files. Compiling and running can be done in Eclipse itself or in
> the command prompt.
>
> I do not need project and packages as of now as I am beginner , I am
> trying to get comfortable in java by trying with lot of basic programs
> in java for which packages and projects not needed.
>
> My question is : Can we create .java files without creating project and
> packages ( as I used to do in Edit Plus ) and save it and compile it in
> command prompt ?
>
>
>
> Thanks & Regards
> Geek Bits

The short answer is no. Eclipse organizes things into projects. You're
going to find the concept easier after you've done it. You can create a
single project and put all your sample code inside it to run and debug.
You'll see, it will save you a lot of time.

Use the simple Java Project.

Use this tutorial if you want no-brainer, easy to learn instruction:
http://www.vogella.com/articles/Eclipse/article.html

See
Previous Topic:Problem with displaying Doxygen documentation in the Eclipse Help
Next Topic:start tomcat in eclipse ...
Goto Forum:
  


Current Time: Fri Mar 29 07:03:03 GMT 2024

Powered by FUDForum. Page generated in 0.04045 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top