Results 1 to 11 of 11

Thread: Learning Java

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Posts
    87

    Learning Java

    Okay, I have decided that I would like to learn Java. But first of all I have a few questions. Where is a good, free java compiler (to write the source code and compile it)? And where is a good place for tutorials for complete (I mean complete) beginners?

    Sorry if I am sounding a little picky/feisty but I have been looking for some time now. Thanks everybody.

    Oh and one more thing, at the bottom of your post could you please list the Java compiler you use?
    "Most cars on our roads have only one occupant, usually the driver."
    - Carol Malia, BBC Anchorwoman

    "I do not like this word "bomb." It is not a bomb. It is a device that is exploding."
    - Jacques le Blanc, French ambassador on nuclear weapons

    "Solutions are not the answer."
    - Richard Nixon, former U.S. President

  2. #2
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    java.sun.com has everything you need. I would probably download the latest version of the software, which is 5.0.



    http://java.sun.com/j2se/1.5.0/download.jsp
    J2SE JDK 5.0

  3. #3
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    Most people have trouble installing the jdk for the first time. So feel free to post any of your problems installing.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    The command line compiler comes with the JDK. You can also download the combined JDK+NetBeans package, which also includes the NetBeans IDE.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2004
    Posts
    87
    Thanks everyone. I have tried installing JDK but it was a little hard so i quit . Anyways, ins't Java sorta like Visual Basic where you design the interface and then program it? If not, how do you get all the graphics etc.?


    Thanks
    "Most cars on our roads have only one occupant, usually the driver."
    - Carol Malia, BBC Anchorwoman

    "I do not like this word "bomb." It is not a bomb. It is a device that is exploding."
    - Jacques le Blanc, French ambassador on nuclear weapons

    "Solutions are not the answer."
    - Richard Nixon, former U.S. President

  6. #6
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    The graphical components come bundled in the language already under various packages such as java.awt.*; and javax.swing.*;. You can add the previous to the top of your .java files combined with multiple import statements to have access to the gui classes. The gui classes are commonly referred to as the JFC(Java Foundation Classes).

  7. #7
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    Designing an interface in java really sucks. You do it programatically(unless you have a really good IDE) and it's either hit or miss when putting components on a frame.

  8. #8
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Yeah i always found that to be a problem. One of the suggestions that was always given to me was "Just use a gridbag layout manager". I always found the gridbag layout manager hard to use.

  9. #9
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I found NetBeans to be a really good IDE.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  10. #10
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Originally posted by CornedBee
    I found NetBeans to be a really good IDE.
    Eclipse kicks NetBeans butt
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  11. #11
    Frenzied Member System_Error's Avatar
    Join Date
    Apr 2004
    Posts
    1,111
    Eclipse and JBuilder are the best out there right now.

Posting Permissions

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



Click Here to Expand Forum to Full Width