Gentoo Archives: gentoo-java

From: Ted Kosan <tkosan@×××××.com>
To: gentoo-java@l.g.o
Subject: Re: [gentoo-java] Startup advice
Date: Thu, 26 Jan 2006 18:05:00
Message-Id: 20060126180421.57533.qmail@web31802.mail.mud.yahoo.com
In Reply to: [gentoo-java] Startup advice by Stuart Howard
1 Stuart wrote:
2
3 > I am a Gentoo user with an urge to try my hand at coding, java seems
4 > to fit the bill as a language that has cross platform appeal and so
5 > on, you guys know the rest.
6 >
7 > My question is this, I want to spend my time learning the language not
8 > the various apps that allow me to do this so what would your
9 > recommendation be for a new starter such as myself.
10
11 Here is an online course that I put together a few years ago to help Java
12 beginners get started with Java. You might find it helpful:
13
14 http://javadevices.org/javacourses/foundation_module/lectures/lecture1.html
15
16 It does not include directions specific to working with Java on Gentoo, but
17 after JDK5.0 has stabalized I might add this information.
18
19
20
21 > I seem to have a choice of using either blackdown or the sun packages,
22 > I have read sufficient to realise that the blackdown project was the
23 > original linux port of Sun's Java but Today what would you suggest as
24 > the platform to pick ie. is the Blackdown package well supported under
25 > Gentoo? will updates come promptly when considered stable? or the the
26 > Sun package better supported? and for that matter as a new user would
27 > I be better of with one or the other for a reason I have not yet come
28 > too?
29
30 I agree with another poster that eventually you will want to focus your efforts
31 on J2SE 5.0 but for people just learning Java you should be fine learning the
32 fundamentals on J2SE 1.4.
33
34
35
36 > Next up would be an IDE, is Kdevelop good for java or is netbeans a
37 > good choice? again your experiance would be helpful at this stage, the
38 > netbeans site seems to imply that they provide functinality not
39 > available elsewhere will this mean that my code [once I get there ;) ]
40 > be specific to netbeans? or should I go for a fundamentalist approach
41 > and stick to "simple" approach and trusty vim?
42
43 This is where my opionin will usually differ with most people. My
44 recommendation is that Java beginners should start with a Java editor and do
45 all of thier development from the command line. The reason for this is that I
46 think people do not truly understand how Java works until they understand how
47 Java's runtime environemnt works at the commmand line level.
48
49 I learned this lesson the hard way. I teach Java at the University level and
50 when I first started teaching Java I had the students use the JDK and a command
51 line. Even though it was more difficult than using an IDE, it worked fairly
52 well and most of these students eventually mastered Java.
53
54 In later Java intro classes I decided to make things easier by switching to an
55 IDE. The classes were a bit easier but in the more advanced Java classes I
56 found that these students did not understand critical things about how the
57 lower levels of Java work because the IDE shielded them from this information.
58
59 As soon as I discovered this mistake I immediately switched back to starting
60 beginners with a Java editor and the command line :-)
61
62 As for which editor to use, I recommend using a Java-based editor instead of
63 something like nano or vim because one is able to pick up a lot of Java-related
64 information indirectly by using an editor that is written in Java. The Java
65 editor that I recommend is JEdit.
66
67 Hope this helps :-)
68
69 Ted
70 --
71 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] Startup advice Greg Tassone <greg@×××××××.net>