Results 1 to 9 of 9
  1. #1
    proboundz is offline Member
    Join Date
    Nov 2012
    Posts
    13
    Rep Power
    0

    Exclamation What to download for Java?

    Hi :).

    I will get straight to the point. I am a total n00b to Java. I am taking the AP course this year and I have no idea. Anyways, I want to try programming on my computer to practice. Here is what I want to do :1) Create "classes?"/"programs" You know like the hello world thing 2) Access my class ie like if i create a celc/farhen program, i want to be able to access it. Yep so that s it for now

    I will repeat I am a total newbie, SO if there is any other thing necessary now or in the future, please tell me.

    Ok so heres my question. What am I supposed to download. I have a Windows 7 Starter Ed Intel atom processor 32 bit and a lot of space. Here is the link to the java website Oracle Java Archive So please tell me, step by step what to do. Any extra tips (eg: download in the same folder etc. ) will be greatly appreciated.

    In addition, will I be able to start writing programs simple and immediately like Public class Potato..... or am I supposed to do some random stuff?

    Thank you for bearing with me.


    Also I would like to point out that I am aware that my grammar sucks and i sound like an illiterate retard.
    Last edited by proboundz; 11-04-2012 at 05:53 PM.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default Re: What to download for Java?

    You have to have the JRE (the Java virtual machine) installed as well as the JDK (the Java compiler and other tools); both come with the JDK download. Everything is installed for you at a convenient place. Click 'JDK SE edition' (SE is the Standard Edition).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    proboundz is offline Member
    Join Date
    Nov 2012
    Posts
    13
    Rep Power
    0

    Default Re: What to download for Java?

    Hey :) Thanks for your answer :D Should I also download the java run time environment? And how about Netbeans ?

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default Re: What to download for Java?

    If you download the JDK, the JRE comes with it. Stay away from big IDEs like Netbeans (or Eclipse) until you feel comfortable with the bare bones JDK.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    proboundz is offline Member
    Join Date
    Nov 2012
    Posts
    13
    Rep Power
    0

    Question Re: What to download for Java?

    Hey, ok so I downloaded Java. I also specified a path (using tutorials) I just attempted to write my first program, a hello world one and I saved it on my desktop as a .java with the same name as the class. I then went on CD and typed java (class) and got a message claiming java could not find a class. After searching on the net a bit, I the did CD desktop then I tried java (the name of class) and i still got the error. What is the problem?

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default Re: What to download for Java?

    Did you compile your source code file? e.g.

    javac YourClass.java
    java YourClass

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  7. #7
    proboundz is offline Member
    Join Date
    Nov 2012
    Posts
    13
    Rep Power
    0

    Question Re: What to download for Java?

    Thank you sooooo much :) It worked now and I just created my first Java program :D I have a few additional questions: What do you think of Jcreator, JCreator — Java IDE Should I wait till I master cmd-notepad or not. How can ask the user for input eg: I ask him to enter a number and I ++ it or something. Also, do you have any tips or recommendations or common errors, like the one I did.

    Thank you again for putting up with my n00biness. Have a good day.

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,784
    Blog Entries
    7
    Rep Power
    21

    Default Re: What to download for Java?

    Congrats with successfully taking the first hurdle; some people swear that you should go through all those nasty details of command line compilation and running your Java programs; others swear that an IDE is the way to go; I'm neutral about this: I can do both but I prefer an IDE just because I like the idea of someone/something else doing the nasty work for me ;-) For the IO stuff: first download and install the API documentation (or at least bookmark it) and read about the Scanner class.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  9. #9
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: What to download for Java?

    It's hard to beat the line by line debugging of an IDE, especially for a beginner. While it is important to know what your IDE is actually doing for you, some of the tools can be very helpful. The single greatest feature of the IDE when I was learning was the ability to inspect the state of any variable at any point during execution. I solved many logic errors in this way as a newbie!

Similar Threads

  1. Java URL Download
    By kris5228 in forum New To Java
    Replies: 0
    Last Post: 09-03-2012, 11:45 PM
  2. Download java 3d lib
    By Dennis in forum Java 2D
    Replies: 43
    Last Post: 09-15-2010, 11:05 AM
  3. how to download using java
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 06:36 PM
  4. Help with download java api
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 03:36 AM

Tags for this Thread

Posting Permissions

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