Results 1 to 8 of 8
  1. #1
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I want to get a taste of java

    I hate writing "I want to get a taste of java", but it's the truth.

    Could someone please recommend a reasonably small easy-to-download-and-install java compiler? I'm experienced at programming, and would like to work my way through some of the simple exercises displayed in the various java tutorials. I'm *not* planning on becoming a java-guru; just like to see what all the fuss is about. Thanks.

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    Easiest way is to purchase a book about Java.
    Most either come with a version of Java, or point you to a site, such as Sun, that has a free version of Java.

    You might wat to try:

    Core Java (ISBN 0130894680) by Gary Cornell and and Cay Horstmann


    Java, An INtroduction to Computer Science and Programming (ISBN 0130316970) by Walter SAvitch

  3. #3
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    Ooops, I forgot to mention.

    THere needs to be a separate forum for Java.
    Javascript does not really have anything to do with Java.

  4. #4
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles, California, USA
    Posts
    1,734
    Thanks
    0
    Thanked 3 Times in 1 Post

    Re: I want to get a taste of java

    This board covers all website related things.
    This is the first time anybody has asked about Java.
    <IMG SRC=http://www.wopr.com/w3tuserpics/Eileen_sig.gif>

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    Howard, Hi, and thanks for the response. I have some material d/l alreday, tutorials for "Hello World" and the like. What I want now is some practice in creating whatever it is I ought to. For example, I want to do the "Hello World" example and see that it really does pop up in my browser.

    Are you writing/compiling Java/Java Script? If so what compiler are you using?

  6. #6
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    Chris,

    I hope you're aware that Java and Javascript are not the same.

    For many, to even mention the two in a single sentence would be a heresy.

    Having said that, Javascript can give you a little taste of the structure of Java. It *may* be a way to get the taste of the structure and syntax (I"m willing to get howled down about this). A big advantage is, that you don't need to download anything. Many recent browsers support it. A BIG disadvantage though, is that browsers support it differently.

    If you're not up with C or C++, it might be worth looking at just to start. Check out <A target="_blank" HREF=http://www.w3schools.com/>http://www.w3schools.com/</A> as a start.

    It took me a while to get used to the syntax like
    <pre>if (abc == 'sss') {
    code
    }</pre>

    type of syntax, coming from VB- and that syntax is common to JS and Java.

    But Javascript is not typed as is Java (the same difference exists between VB and VBscript). JS in completely interpreted. And it is hugely more restricted than Java.

    Javascript (as a learning tool) has the advantage that it's much easier to run programs. Fatherjack pointed me at something which makes it even easier- see <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=htm&Number=50024&page=0&vie w=expanded&sb=5&o=0&part=1&vc=1>this thread</A>

    Just a few thoughts to add to your confusion
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    > I hope you're aware that Java and Javascript are not the same

    [quiet voice] "I do now" [/quiet voice]

    Internet Joke: Customer: "I want to download the Internet. Do I need a bigger hard disk?"


    >A big advantage is, that you don't need to download anything

    I'm sold on this idea. I want to get in up to about my lower kneecaps only, and I am vertically-challenged, so <A target="_blank" HREF=http://www.w3schools.com/js/default.asp>this</A> is ideal for me right now.

    In my original post I wanted a small d/l because I don't (yet) want to invest a great deal of time in getting to understand the area.





    > It took me a while to get used to the syntax like if (abc == 'sss') { code }


    Ah! My dirty little secret comes out. I'm looking at a way to combine my language-translation skills (using a macro-processor called Stage2) and my Nester to perfom some automated conversions. re-aligning the layout is going to be the fun reason for me doing all this. BTW, my understanding with any language that looks like this is that the layout is purely for human readability, and that's the case here, right?

    Already I realise that Word97's SaveAsHTML won't recognize javascript as such - the angle-brackets get converted to ampersand-lt and ampersand-gt.

    I suspect that I'm going to dabble in JavaScript for a week, then move into Java so that I can store/compile my stuff as separate modules and not have Word97 go look at them at all.


    Thanks for the leads.

  8. #8
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: I want to get a taste of java

    The most cost effective way to learn ANY programming language is with a well written book. All such books either come with lots of examples on media or point you to the author's or publisher's web site.

    The 2 books I already listed for Java are quite good.

    If one wants to learn about real programming, stick with C, C++ and Java books. THe programming concepts are easily transferred to each other language, even to VB and VBA and C# and ....

    You can download free Java systems.
    You can download free C/C++ systems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •