Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / December 2005

Tip: Looking for answers? Try searching our database.

i am new to java

Thread view: 
parag - 07 Dec 2005 12:41 GMT
hello all,

I am new to java. so how can i start learning java.

plz give me guidelines.

Thx.
Roedy Green - 07 Dec 2005 13:04 GMT
>I am new to java. so how can i start learning java.
see http://mindprod.com/jgloss/gettingstarted.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Frances - 07 Dec 2005 15:27 GMT
>>I am new to java. so how can i start learning java.
>
>  see http://mindprod.com/jgloss/gettingstarted.html

I find this a very good resource..
http://java.sun.com/docs/books/tutorial/reallybigindex.html

then there are the docs, documenting API..
http://java.sun.com/j2se/1.4.2/docs/api/index.html

there are many other resources out there, like for example:
http://www.apl.jhu.edu/~hall/java/FAQs-and-Tutorials.html
(search for "learning java" in google..)

also this book is quite good..
http://www.oreilly.com/catalog/learnjava2/

good luck..

Frances
dunctait - 07 Dec 2005 15:32 GMT
i dont have any links (alltho its ot like you are short lol) but i have
a small piece of advice.

i started learning java using a front-end. i was sing the book "Objects
first with Java" and it uses BlueJ as a programming environment. BlueJ
is great for beginners as it does quite a lot for you, but i used it
for a year and really didnt have a great knowledge of what i was doing.
then i started usng a bog-standard text editor (its only functions were
line numbers, syntax-colouring and compile/run) and i really understood
exactly what was going on and even enjoyed hacking out programs.

so if i were to go back again, id learn the BASICS using an environment
(i.e BlueJ) for about a month-3months then switch to a simpler
environment.

duncan
IchBin - 07 Dec 2005 18:55 GMT
>>> I am new to java. so how can i start learning java.
>>
[quoted text clipped - 16 lines]
>
> Frances

Also java examples, 'The Java Developers Almanac 1.4'

http://javaalmanac.com/

Signature

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

"." - 07 Dec 2005 17:16 GMT
> hello all,
>
> I am new to java. so how can i start learning java.

- Go to java.sun.com
- Select J2SE (Core/Desktop) on the left
- Select Download Java SE (J2SE) near the top
- Select either
    Download JDK 5.0 Update 6 with NetBeans 4.1 Bundle
 or
    Download JDK 5.0 Update 6
- NetBeans is an integrated development environment (IDE). It will make
 things easier for you in the long run.
- You might also want to download J2SE 5.0 Documentation as well.
- On the left i are links to Learning. Check out the Tutorials.

Signature

Send e-mail to: darrell dot grainger at utoronto dot ca

Rhino - 07 Dec 2005 18:59 GMT
> hello all,
>
> I am new to java. so how can i start learning java.
>
> plz give me guidelines.

One book that many people have recommended very highly over the years is
Thinking in Java by Bruce Eckels. You can read it online or download it, all
for free, at this URL: http://www.mindview.net/Books/TIJ/. You can also
purchase a copy via links on that page.

I learned a lot from the Java Tutorial, which you can also read online or
download for free, at this URL:
http://java.sun.com/docs/books/tutorial/index.html. You can also purchase
copies of this book via links on this page.

You have already had suggestions for a few different IDEs (Integrated
Development Environments), like BlueJ and NetBeans. I'd like to suggest
another IDE that is very popular as well: Eclipse. It is available for free
download at the Eclipse site, http://eclipse.org. I've used it for a few
years now and like it very much.

But I'm going to disagree with the advice that you should rush out and get
an IDE immediately. I think there are some real benefits to developing your
first several programs using very basic tools. For the first year or more, I
wrote my programs with a simple text editor - PFE (Programmer's File
Editor), available at
http://www.lancs.ac.uk/people/steveb/cpaap/pfe/default.htm - and compiled
and ran them from the command line. The benefit of working this way for a
few months is that you make a clear distinction between the code and the
environment. Your simple editor is used to create code and your command line
is used to execute it. Period. The risk with using an IDE from the very
beginning is that you will not be able to distinguish so easily when the
code is at fault and when the environment has been set up incorrectly.

I started using my first IDE a year or so after I had started writing Java.
The IDE really helped me write code more productively. My next IDE, Eclipse,
was even better. But I'm very happy that I can write code without any IDEs
if the need arises.

My suggestion to you is that you start with a very basic environment. Then,
after a few weeks or months, look at some of the better IDEs, like Eclipse
and NetBeans. Give them a try and if they suit your way of working, by all
means start using them full time. You may find that you prefer your more
familiar environment; that's okay too.

Of course, my advice is based on the assumption that you are just writing
code in your spare time, for fun, or as part of a school course. If you are
writing code professionally, you will almost certainly use the IDE that has
been chosen by your employer. But I'd be surprised if anyone hired you to
program professionally in Java if you have no prior experience with the
language :-)

Rhino
Noodles Jefferson - 07 Dec 2005 22:40 GMT
> hello all,
>
> I am new to java. so how can i start learning java.

Java's evil. If this is the first one, start off with something else.
This isn't the warm-up language. I can tell you this from experience.

Your mileage may vary.  

But, when I make a project work right, I feel like such a man. Sick, I
know.

> plz give me guidelines.

One thing at a time and don't quit. There's a lot to learn for java,
it's a marathon, not a sprint. You won't be the only one that feels like
they don't get it. Trust me.

> Thx.

Signature

Noodles Jefferson
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

"Our earth is degenerate in these latter days, bribery and corruption
are common, children no longer obey their parents and the end of the
world is evidently approaching."
--Assyrian clay tablet 2800 B.C.

Roedy Green - 07 Dec 2005 23:14 GMT
On Wed, 7 Dec 2005 16:40:58 -0600, Noodles Jefferson
<silverbells@tacoshells.com> wrote, quoted or indirectly quoted
someone who said :

>Java's evil. If this is the first one, start off with something else.
>This isn't the warm-up language. I can tell you this from experience.

I learned a number of other languages before Java.  It seems to me
Java would have been a much easier language to learn, doing things
like Towers of Hanoi and the other sorts of task you get in first year
computer science classes.

It is certainly easier than Fortran, COBOL, C, APL, any Assembler,
PL/I, C++, Forth, Algol 68, Ada.  It is about equal in difficulty to
Pascal which was designed primarily for teaching. SmallTalk has the
advantage of much simpler precedence and the interactive environment.

For teaching you want a language that gives you clear error messages
when you make an error, not an incomprehensible hex core dump.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Rhino - 08 Dec 2005 00:21 GMT
> On Wed, 7 Dec 2005 16:40:58 -0600, Noodles Jefferson
> <silverbells@tacoshells.com> wrote, quoted or indirectly quoted
[quoted text clipped - 12 lines]
> Pascal which was designed primarily for teaching. SmallTalk has the
> advantage of much simpler precedence and the interactive environment.

That just goes to show that we're all different.

I learned Fortran, COBOL, REXX, CSP, some C and smidgens of several other
languages (Perl, Assembler, PL/1, etc.) before I touched Java and I found
Java _much_ harder than any of the others. In fact, I'm at a loss to imagine
how anyone could find COBOL (!?!) harder than any other programming
language. But I'll assume you are not just blowing smoke here and that
really was your experience.

Compared to any of the other languages I've learned, Java is far and away
the most complex and the most powerful, by orders of magnitude. The API was
big when I started in the very early days of Java - 1.0.1? - and is
gargantuan in size now. There must be _thousands_ of classes in the J2SE API
alone by now and I've never touched a great many of them - and probably
never will. Java has so many more capabilities than anything else I've seen
that it actually seems ludicrous to compare Java to any of the other
languages we've mentioned.

Also, Java was my first OO language and remains my only OO language.
Although the basic concepts can be explained quite briefly, I still don't
find myself thinking entirely in OO terms, even after several years of
writing Java. I actually envy the newbies sometimes since, if properly
taught OO, they won't have to unlearn other paradigms, like structured
programming and design.

Don't get me wrong, I _love_ Java and am happy to praise it to the skies but
I don't think I'd ever call it an easy language.

> For teaching you want a language that gives you clear error messages
> when you make an error, not an incomprehensible hex core dump.

I can't disagree there. The first few times I saw hex dumps, I really
started to wonder if I was in the right field. But I got on to them pretty
quickly - or at least the essentials, which were all I really needed - and
never looked back. But I'd still rather see a clear and informative error
message than a dump any day.

In my opinion, Java is a great language but it's not one that the average
person is going to really comprehend fully in a short time. Anyone hoping to
be a Java guru in six months is definitely setting themselves up to fail!
But I'd far rather write Java than any other language I've ever learned (or
seen), even though my skill level only feels like a solid working knowledge
some days.

Rhino
Roedy Green - 08 Dec 2005 01:59 GMT
On Wed, 7 Dec 2005 19:21:33 -0500, "Rhino"
<no.offline.contact.please@nospam.com> wrote, quoted or indirectly
quoted someone who said :

>Compared to any of the other languages I've learned, Java is far and away
>the most complex

COBOL itself may be simple, but you then have the problem of how to
get things done with such primitive tools.

Most language have features that I would consider really ugly hacks.
COBOL had the features such as PERFORM THRU and ALTER xxxx to PROCEED
TO

FORTRAN had A6 format statement to deal with characters.

PL/I had ON units with rather fuzzy expectations of what they would
do.

The biggest problem with learning Java is thinking the  C-like syntax
behaves the same as in C.

These are questions that can be answered objectively.  

On reason I would say Java is likely easier is look at the sorts of
problems Java novices tackle -- Applets.   In very few other languages
would you dream of throwing GUIs at the newbies in their first year.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Noodles Jefferson - 08 Dec 2005 02:34 GMT
> On Wed, 7 Dec 2005 16:40:58 -0600, Noodles Jefferson
> <silverbells@tacoshells.com> wrote, quoted or indirectly quoted
[quoted text clipped - 4 lines]
>
> I learned a number of other languages before Java.

That would have helped a lot. I just picked one. Don't do that. It was a
bitch.

>  It seems to me
> Java would have been a much easier language to learn, doing things
[quoted text clipped - 3 lines]
> It is certainly easier than Fortran, COBOL, C, APL, any Assembler,
> PL/I, C++, Forth, Algol 68, Ada.

I'll have to take your word for it on that one. I don't know any of
them. I know COBOL's mainframe, I think Fortran is too but I'm not sure.
I've heard of Assembler, C, and C++, and that's about it.

> It is about equal in difficulty to
> Pascal which was designed primarily for teaching. SmallTalk has the
> advantage of much simpler precedence and the interactive environment.
>
> For teaching you want a language that gives you clear error messages
> when you make an error, not an incomprehensible hex core dump.

Makes sense.

Signature

Noodles Jefferson
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

"Our earth is degenerate in these latter days, bribery and corruption
are common, children no longer obey their parents and the end of the
world is evidently approaching."
--Assyrian clay tablet 2800 B.C.

Chris Smith - 08 Dec 2005 02:41 GMT
> > It is certainly easier than Fortran, COBOL, C, APL, any Assembler,
> > PL/I, C++, Forth, Algol 68, Ada.
>
> I'll have to take your word for it on that one. I don't know any of
> them. I know COBOL's mainframe, I think Fortran is too but I'm not sure.
> I've heard of Assembler, C, and C++, and that's about it.

Have you learned any other programming languages that you think are
significantly easier?  Maybe it's just that learning programming was
hard for you.  Java isn't a particularly difficult language.  I have
just spent the last week or so watching a good friend of mine picking up
Java, having past experience in C++, Delphi, Pascal, and a couple
assembly languages.  He'll tell you it's the easiest language he's ever
learned by far.  (Of course, Pascal was his forst language, so it was
more difficult than it otherwise would have been).

But that doesn't mean that learning Java will be objectively easy, if
you've never programmed before.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Noodles Jefferson - 08 Dec 2005 03:09 GMT
> > > It is certainly easier than Fortran, COBOL, C, APL, any Assembler,
> > > PL/I, C++, Forth, Algol 68, Ada.
[quoted text clipped - 14 lines]
> But that doesn't mean that learning Java will be objectively easy, if
> you've never programmed before.

Yeah, it's my first one. I'm taking VB.net this semester and it's been a
lot easier to pick up despite the difference in the languages. (I'm in
semsester 2 of 3 at school) in java Those are the only two I'm learning
so far. This semester's been a lot less rough than that first one. I
took the beat-in.

Signature

Noodles Jefferson
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM

"Our earth is degenerate in these latter days, bribery and corruption
are common, children no longer obey their parents and the end of the
world is evidently approaching."
--Assyrian clay tablet 2800 B.C.

blmblm@myrealbox.com - 08 Dec 2005 10:38 GMT
[ snip ]

>I know COBOL's mainframe, I think Fortran is too but I'm not sure.

In the case of Fortran -- not particularly.  It was originally
developed to run on mainframes, because that's all that existed
back then, but compilers are now available (as far as I know and
can tell from comp.lang.fortran) for most platforms, including
Windows and Linux.

Not that anyone here cares that much, but IMO Fortran has an
undeservedly bad reputation among many young/academic CS types,
based in many cases on wrong or no information.  But then, maybe I'm
biased because it was the first high-level language I learned ....

[ snip ]

| B. L. Massingill
| ObDisclaimer:  I don't speak for my employers; they return the favor.
Mark Haase - 09 Dec 2005 00:09 GMT
> Java's evil. If this is the first one, start off with something else.
> This isn't the warm-up language. I can tell you this from experience.

Debatable--Java is the first language taught in many CS programs. In my
program, we used ML first and then moved to Java towards the end of the
first semester. What's so evil about it? Its actually a good beginner
language, because with strong type-checking it prevents a lot of
irritating and difficult-to-find runtime bugs.

|\/|  /|  |2  |<
mehaase(at)gmail(dot)com
vip8668@gmail.com - 12 Dec 2005 11:07 GMT
thinkinjava
java编程思想


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.