What I need advice on is as follows: I want to start off small by
making small projects to completion. I'm so used to the VB IDE that I
have become spoiled.
But back to the topic of Java - I need a recommendation on how to
start small and learn more as I go along. I have downloaded Eclipse,
as per my friend's recommendation, and I am also looking at other
things such as Netbeans
Dan:
I have had to learn some things the hard way, so let's share some
gotchas with you.
Is Visual Studio the only IDE you have ever used? I ask that because
my only IDE for a while was JBuilder (the old, non-Eclipsized) and I
felt hesitant to try anything new. I then did some Visual C++,
NetBeans, Eclipse programming, checked out the trial version of IDEA,
downloaded Turbo JBuilder (free) and much to my surprise, said to
myself: "man, all these IDEs are a copycat of each other!".
This is analogous to learning a new operating system or human
language. The hardest language to learn is the *second one* (for me,
it was English). After that, you realize they have a lot in common.
Having said that you must begin your learning with NetBeans. I had
been avoiding it because my queue of things to learn and to read is
huge, but I was pleasantly surprised to see how nice, simple and
intuitive it is. *Specially* if you come from the VS world.
Having said that... You have to acquire a minimum level of competence
on Eclipse, as well. Why? Because none of the two are a superset of
the other (Eclipse comes close, as it does *almost* everything NB
does, and then some!).
What I did (with a lot of help from this NG, they are great) was to
place all my Java source code in a common place:
My Documents | Java Source |
under that, I made some theme related subdirectories (which correspond
to Eclipse "Working Sets", something that doesn't exist in NB - ah!
they are "Solutions" to use your VS terminology) like:
- OpenOffice
- Web Stuff
- Playground (here's were you fool around and kick tires)
etc.
Naturally, you place the projects *source* under those.
I also have 2 folders under my Windows home directory:
- workspace (Eclipse created it and put it there)\
- netbeans (I had to create it and put it there, not to be confused
with .netbeans)
The binary (*.class files live in the above, while all *.java and
images live in the "Java Source") hierarchy.
I can simultaneously have Eclipse and NB running (but it is best to
make all modifications on the Eclipse side - the "why" is left as an
exercise).
One of the things I like above my settings (other than having
*options* which is synonymous with *freedom*) is that I can test
things in both sides.
Cool example: for the life of me, I haven't figured out how to make an
executable jar on Eclipse, and I was digging around NB trying to
discover how to do it there. I was about to conclude that NB does not
support such thing. Then I realized: just click on the icon with the
little broom ("clean and build") and there you have it. It could not
possibly be any easier.
Good luck and welcome. You have made a wise move.
-Ramon