Results 1 to 8 of 8

Thread: Jdk...............

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    82

    Jdk...............

    hi there..

    i'm just new for the 'java environment' & have studied with basic applications on java.
    i'm just struggling with the word 'JDK' & just want to clarify,
    1) the real meaning of the 'Java Development Kit' (JDK)
    2) what does it contain (the components)?
    3) are the 'java vitual machine' (JVM) & the 'java compiler' parts of JDK?
    &
    4) the meaning of JDK 1.2, which's most widely talked version.

    although, i've gone through some documentations regarding JDK, i've not got the real sence of it.
    & i've seen the definition for JDK as....
    "A software package that can be used to write, compile, debug, and run Java applets and applications." in 'google'.

    5) is this correct ? & if not what's the real definition?
    6) is it essential to have this JDK to compile & run java programs on our PCs.


    Could anyone of you please help me to clarify these doubts?
    thanks in advance.

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: Jdk...............

    1) Yep
    2) Contains all the classes you need to create Java applications
    3) The compiler creates the ".class" files from all the ".java" files you create. The virtual machine basically runs/executes the .class files.
    4) There are different versions of the JDK. 1.2 is one version, 1.4.2 is another, 1.5 is another...
    5) Yes it's correct
    6) Since the JDK has the compiler and the virtual machine, without the JDK you can't compile your programs or execute your compiled programs...


    Has someone helped you? Then you can Rate their helpful post.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: Jdk...............

    2) It contains a complete JRE (Java Runtime Environment, the software package that non-developers need - it contains the virtual machine and the runtime library). In addition, it contains development tools: the Java compiler, the JAR packager, the JAR signing tools, the command line debugger, and a few others. The Sun JDK also comes with the source code for nearly the complete runtime library.
    3) It's "virtual", but yes.
    4) JDK 1.2 is so common because it was the first version to support Swing, and thus until recently it was the minimum requirement of most Java apps. However, currently the most common minimum version seems to be 1.3, with 1.4 catching up. And of course Java5 offers many great new features, so many new apps require that.
    6) You need the JDK to compile programs, but the JRE suffices to run them.
    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.

  4. #4
    New Member
    Join Date
    Aug 2006
    Posts
    2

    Re: Jdk...............

    Hi
    I am Lakshmi Narayana
    I am new to Java
    I got one Question. Can Applets be used in Web Applications (on the Server Side)?

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Jdk...............

    Quote Originally Posted by vinod_kumar
    Hi
    I am Lakshmi Narayana
    I am new to Java
    I got one Question. Can Applets be used in Web Applications (on the Server Side)?
    First of all, welcome to the forums.
    The answer is yes, you can add applets to JSP apps.
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    82

    Re: Jdk...............

    thankx everybody.
    i think i got ur point. if the following is my definition for JDK,,, i hope it's correct

    "JDK is the collection of tools including Java Virual Machine, Java Compiler and other Java Libraries & Packages which enable to perform both Compiling & Executing java programs" & whenever we need to compile & run a java application we need to have installed the JDK in the machine .............

    comment on please ...

  7. #7
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: Jdk...............

    You need the JDK to compile Java, you need JRE (Java Run-time Environment)to run java
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  8. #8
    Addicted Member
    Join Date
    Oct 2004
    Location
    youngstown, oh
    Posts
    202

    Re: Jdk...............

    hello, i am new to jave too. I am taking a user interface desing class, we do everything in Java. I am eager to learn..and I'm glad i stumbled across this post. Now I have a little better idea of what I'm doing. Thanks.
    --thanks for the help.

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