[ILUG] Java on Linux
Michael Watterson
watty at eircom.net
Sat Mar 7 12:20:06 GMT 2009
Phil Bradley wrote:
> Conor Mac Aoidh wrote:
> > What I wanted to ask is does anyone here know of any books that would
>> concentrate on learning Java using Linux? I'm sure once I get to
>> grips with
>> the basics that I will be able to show the Windows users how much
>> easier it
>> is to program with Java on Linux!
>
>
> In the long run, developing Java on Linux should present no problems,
> it's well supported and lots of people do it but it's important when
> you're learning the fundamentals, to try separate your concerns as
> much as possible.
>
> Cheers,
> -phil
I've found it's basically the same to do Java on Linux or XP, and with
some thought the application will run on either with no changes. You can
either impose your own skin, or change the settings so on Windows or
Linux it looks the the same as any other non-skinned program on the
desktop. No knowledge of KDE, Gnome, Explorer needed. Write the one Java
app using any IDE or editor and compile on either platform and it runs
on all that support the same or later revision of JVM.
I find Sun's IDE somewhat slug dead slow, but there are lots of
alternatives. For learning Java, I think which platform you learn on
doesn't matter much.
Please don't use printf if you have C experience. Just because a feature
is added by popular demand does NOT mean it is good. Strustrupp wanted
it banned in C++, but AT&T insisted on 100% C backward compatibility,
hence the millions of lines of C++ that are really C programs. If you
have not done C or C++, IMO that is an advantage. If you have, then many
things are familiar.
If C# wasn't essentially MS's version of Java and was really as
portable, I'd be pushed to say which is better. C# at least assumes if
x=y is stupidity rather than intentional. Traditional C assumes you may
intend to assign y to X and then no matter what type it really is you
pretend it's a Boolean and test x.
No complier can know the validity or sanity of the arguments passed to
printf Nor is it easy for you a week later.
--
Mike
More information about the ILUG
mailing list