[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: [Newbie] Running single files
|
"David Wegener" <d.wegener(spamblock)@attbi.com> wrote:
> Create a Java project called Assignments (or what ever you
> like). Then create a package for each assignments or group of
> assignments that fit together. Select the project for the given
> assignment. Select File->New->Class or click on the Create Class
> icon (letter C with a wand over it.) Fill in the class name and
> select the other items that apply. Click finish.
>
> If you need other class files, you repeat the class creation
> process or you can copy an existing class from the File menu.
>
> If you want to run the program, hilight it, select Run->Run
> as->Java Application or Run->Run... to get a list of previous
> classes you have launched. Run->Run... also allows you to edit
> things like classpath and program arguments.
>
> If you want to test out some code, have a look at scrapbooks
> (File->New->Scrapbook page)
So I guess you're confirming what I suspected, that there is no
simple way of doing a "new file - write - compile - run" cycle
without the hassle of setting up projects etcetera...
Allright, I can live with that. I understand that Eclipse was
designed for handling bigger java projects, and I will use it for
my bigger projects indeed. But I'll stick with JCreator for the
simple course exercises.
Thanks for the reply,
Wald