Very basic question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lee David

    #1

    Very basic question

    I went to the sun site and downloaded what I hope is the development part of
    java. I downloaded JDK5 with Netbeans. I installed it and now have a
    folder in my program group "Netbeans". Is that java? Would I execute that
    to create a java application?

    TIA, Lee


  • IchBin

    #2
    Re: Very basic question

    Lee David wrote:[color=blue]
    > I went to the sun site and downloaded what I hope is the development part of
    > java. I downloaded JDK5 with Netbeans. I installed it and now have a
    > folder in my program group "Netbeans". Is that java? Would I execute that
    > to create a java application?
    >
    > TIA, Lee
    >
    >[/color]
    This is the Netbeans Java Developer IDE AND the JDK for developing Java
    apps.

    The JDK5 should also be on your system say "C:\Program
    Files\jdk1.5.0_ 04". This is what you need to develop Java applications.

    Netbeans is a Java developer IDE. You should see a Netbeans icon on your
    desktop. Just double click on that to bring up the Netbeans IDE.

    Or select Start \ NetBeans 4.1 \ NetBeans IDE

    If you do not see the icon then just goto your Netbeans subdirectory and
    double click on "C:\Program Files\netbeans-4.1\bin\netbean s.exe"

    Now that the Netbeans is open you will need to learn this IDE. You can
    play with the samples off the welcome screen.

    You can use any number of Java developer IDE's out on the Internet that
    are also free.

    If you have never developed Java code before I would recommend a easier
    IDE like JGRASP http://www.eng.auburn.edu/grasp/ or BlueJ





    --


    Thanks in Advance...
    IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
    _______________ _______________ _______________ _______________ ______________

    'If there is one, Knowledge is the "Fountain of Youth"'
    -William E. Taylor, Regular Guy (1952-)

    Comment

    • Lee David

      #3
      Re: Very basic question

      Thanks. I have the icon on the desktop, but didn't realize it was for the
      developers enviroment of Java. This is all for my kid who is taking it in
      high school. I do other languages, but never got into Java (at least not
      yet).

      I was able to open it and appreciate the pointer.

      Lee


      Comment

      • IchBin

        #4
        Re: Very basic question

        Lee David wrote:[color=blue]
        > Thanks. I have the icon on the desktop, but didn't realize it was for the
        > developers enviroment of Java. This is all for my kid who is taking it in
        > high school. I do other languages, but never got into Java (at least not
        > yet).
        >
        > I was able to open it and appreciate the pointer.
        >
        > Lee
        >
        >[/color]

        If this is for your kid for H.S.. I would not recommend Netbeans or
        Eclipse or any of the professional Java developer environments.

        These environments do to much for you and expect a certain level of
        expertise in learning the IDE and basic knowledge of Java. Example, it
        has a GUI to build java screens that he really should learn by coding by
        hand. This is recommended for even seasoned programmers from other
        languages. He will get lost if some does not work because most of the
        code is automatically generated. You really have to learn the Java API's
        to understand this part of Java programming.

        I am sure the teacher would be teaching this by coding examples.

        It would be much better for him to use say 'TextPad' http://www.textpad.com/

        This is an editor that will at the least color parse his code and you
        can set it up to compile the code. As to running the class files he will
        learn about this in class.

        These are basic concepts in Java programming that MUST be exposed to
        learn Java.

        I think you would be doing him or her a disfavor by having them use a
        professional Java IE. There is a presumption of basic Java knowledge.

        At most he could use JGRASP http://www.eng.auburn.edu/grasp/

        If the class is teaching an OOD\OOP Java implementation he or she could
        use 'BlueJ' http://www.bluej.org/ But I think this is at a college
        level. Maybe nice if you could talk to the teacher to see what they are
        actually teaching.

        Just for his or her own reference these may help in their H.S. class..

        The Really Big Index
        http://java.sun.com/docs/books/tutor...ybigindex.html

        The Java Developers Almanac 1.4


        Oh, I have been in the programming field since 1977.

        --

        Hope this Helps for you kid...
        IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com
        _______________ _______________ _______________ _______________ ______________

        'If there is one, Knowledge is the "Fountain of Youth"'
        -William E. Taylor, Regular Guy (1952-)

        Comment

        • David Moss

          #5
          Re: Very basic question

          In article <1M6dnSTkcqRybJ PeRVn-3A@comcast.com> ,
          affordable_turn key_solutions@c omcast.net writes...
          [color=blue]
          > I went to the sun site and downloaded what I hope is the development part of
          > java. I downloaded JDK5 with Netbeans. I installed it and now have a
          > folder in my program group "Netbeans". Is that java? Would I execute that
          > to create a java application?[/color]

          Yes.
          Netbeans and the JDK provide everything you need to write and execute
          Java programs. In fact the JDK alone is all you need to write and
          execute Java programs, Netbeans just provides a sophisticated GUI
          environment that helps with more complex projects.

          Before you jump into Netbeans, however, I suggest you start with the
          very basics.

          Get yourself a basic book on Java or choose one of the web based
          tutorials like http://www.iut-info.univ-lille1.fr/docs/tutorial/

          Practice by writing some very basic Java programs using only a text
          editor and the JDK. Once you understand how this works you will learn to
          use Netbeans far more easily.

          For example, here is how to do "Hello World" using only the JDK:

          1) Using your favourite text editor (Notepad, Emacs, vi etc) create a
          file called "hello.java ".

          2) Enter the following in the file:

          class hello {
          public static void main(String [] args){
          System.out.prin tln("Hello World");
          }
          }

          3) Save the file

          4) At a console command line type:
          javac hello.java

          5) Step 4 caused the Java compiler to create a file called "hello.clas s"

          6) At the command line type:
          java hello

          7) Step 6 caused the Java Runtime to load java.class and execute it.
          Note that you did not type "java hello.class" or "java hello.java" to
          run the program. You just typed "java hello".

          8) If you are lucky you should see the words "Hello World" appear on the
          console.

          The Java compiler (javac) and the Java Runtime (java) are both included
          in the Java Developers Kit (JDK). While you can use only the JDK for
          Java programming, for any serious development you need a GUI based
          development environment, like Netbeans.

          Trying to use Netbeans without learning a few simple things with the JDK
          first is like trying to solve a Integral Calculus problem without
          learning arithmetic first.

          BTW I use Netbeans as my development environment.
          I'm very happy with it.

          Oh yes, you will be much happier if you download the documentation that
          goes with the JDK too. Last time I looked it was a separate download.
          Once downloaded and installed it the documentation becomes available to
          Netbeans and this helps immensely. Netbeans will prompt you with
          function parameters and descriptions if it has access to the
          documentation.

          --
          DM
          personal opinion only

          Comment

          • Hal Rosser

            #6
            Re: Very basic question

            I agree with the others - leave off the IDE untill after you/(your son)
            have Java in the bag.
            There's quite a learning curve just learning the IDE - whether its Netbeans
            or Eclipse - or some other.
            "Lee David" <affordable_tur nkey_solutions@ comcast.net> wrote in message
            news:1M6dnSTkcq RybJPeRVn-3A@comcast.com. ..[color=blue]
            > I went to the sun site and downloaded what I hope is the development part[/color]
            of[color=blue]
            > java. I downloaded JDK5 with Netbeans. I installed it and now have a
            > folder in my program group "Netbeans". Is that java? Would I execute[/color]
            that[color=blue]
            > to create a java application?
            >
            > TIA, Lee
            >
            >[/color]


            Comment

            Working...