Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Newbie Question(adding .java file)
Newbie Question [message #638350] Wed, 10 November 2010 23:07 Go to next message
Brian  is currently offline Brian Friend
Messages: 3
Registered: November 2010
Junior Member
I am new to Java again (picked it up a few years ago, never went very far with it), and I am running through some online tutorials, one of which references a source code they wrote called TextIO, and the file is given, which I downloaded. In windows I was able to drag and drop the file into my project, and all worked well. My questions is this: Is there a place to put this TextIO.java file so that it is automatically added to all new java projects, or is there a setting in Eclipse where I may specify a folder to search for such files to automatically be added?

Also, what online tutorials/resources have you found to be beneficial for learning Java as a newbie?

Thanks in advance
Re: Newbie Question [message #638352 is a reply to message #638350] Wed, 10 November 2010 23:33 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2010.11.10 16:07, Brian wrote:
> I am new to Java again (picked it up a few years ago, never went very
> far with it), and I am running through some online tutorials, one of
> which references a source code they wrote called TextIO, and the file is
> given, which I downloaded. In windows I was able to drag and drop the
> file into my project, and all worked well. My questions is this: Is
> there a place to put this TextIO.java file so that it is automatically
> added to all new java projects, or is there a setting in Eclipse where I
> may specify a folder to search for such files to automatically be added?
>
> Also, what online tutorials/resources have you found to be beneficial
> for learning Java as a newbie?
>
> Thanks in advance

(Not sure why you'd want to add a Java file to each and every project. I
don't know of a way to do that, but I don't know everything.)

For learning Java I recommend the following resources:

1) A "method"--a fun learning book like Head First Java.

2) A "grammar" --a book containing a more formal description of the
language than the method will provide like Bruce Eckel's Thinking in
Java; you'll use this book to look stuff up; or, you can just use Google.

3) A good forum --Java Ranch is probably the very best and it's a
"kinder-gentler" place; also good are stackOverflow and jguru.

4) A development environment --you can't do better than Eclipse;
NetBeans is good too, but if you decide to write Java professionally,
it's Eclipse all the way almost no matter where you work.

4bis) Don't forget to use Eclipse forums--a great place for help with
Eclipse, but it's not so much the place to ask purely Java questions.

5) Good tutorials --for advanced, practical things that go with #4:
these rather go with the development environment since they relate it
and any frameworks you use; you can't beat http://www.vogella.de
Re: Newbie Question [message #638578 is a reply to message #638352] Thu, 11 November 2010 16:23 Go to previous messageGo to next message
David Kerber is currently offline David KerberFriend
Messages: 100
Registered: July 2009
Senior Member
In article <ibf9tj$luk$1@news.eclipse.org>, russ@windofkeltia.com
says...
>
> On 2010.11.10 16:07, Brian wrote:
> > I am new to Java again (picked it up a few years ago, never went very
> > far with it), and I am running through some online tutorials, one of
> > which references a source code they wrote called TextIO, and the file is
> > given, which I downloaded. In windows I was able to drag and drop the
> > file into my project, and all worked well. My questions is this: Is
> > there a place to put this TextIO.java file so that it is automatically
> > added to all new java projects, or is there a setting in Eclipse where I
> > may specify a folder to search for such files to automatically be added?
> >
> > Also, what online tutorials/resources have you found to be beneficial
> > for learning Java as a newbie?
> >
> > Thanks in advance
>
> (Not sure why you'd want to add a Java file to each and every project. I
> don't know of a way to do that, but I don't know everything.)

That would essentially be a user library. I don't believe you can
automatically include it in every project, but just put it in some
central location and import it when you start a new project.

D
Re: Newbie Question [message #638582 is a reply to message #638578] Thu, 11 November 2010 16:51 Go to previous messageGo to next message
Brian  is currently offline Brian Friend
Messages: 3
Registered: November 2010
Junior Member
Thank you for the replies.
Re: Newbie Question [message #639368 is a reply to message #638350] Tue, 16 November 2010 09:54 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member
I am new here at eclipse as well. And thanks to David you gave a good recommendation to start on.
Re: Newbie Question [message #654399 is a reply to message #638350] Tue, 15 February 2011 15:14 Go to previous message
BYOU Cymphonique is currently offline BYOU CymphoniqueFriend
Messages: 1
Registered: February 2011
Junior Member
oh... I don't think it's possible too. You really have to manually copy paste each of on every project.
Previous Topic:Plugins folder on Mac
Next Topic:JSP and MySQL
Goto Forum:
  


Current Time: Wed Apr 24 21:55:56 GMT 2024

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

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

Back to the top