Results 1 to 8 of 8

Thread: Jdk & jre

  1. #1
    gauravmanral's Avatar
    gauravmanral is offline Gaurav Manral
    Join Date
    Jul 2011
    Location
    Delhi
    Posts
    37
    Rep Power
    0

    Smile Jdk & jre

    what is the difference between jdk & jre in context to eclipse IDE.

    means what exactly the eclipse needs a JRE or JDK. is this possible to run a program on eclipse without JRE & JDK.

  2. #2
    dlorde is offline Senior Member
    Join Date
    Jun 2008
    Posts
    339
    Rep Power
    7

    Default

    The JRE is the Java Runtime Environment, the engine that actually runs your code. The JDK is the Java Development Kit which is a collection of tools and libraries that support the development of Java applications. This stuff is all online, if you take the time to browse for it.

    To compile Java code, you need a compiler, one of the tools in the JDK. To run the compiled code, you need the JRE. If you want to develop and run Java code, you need the JDK and the JRE. The JDK includes a JRE, but the JRE is available separately just for running Java applications. I don't use Eclipse, so I can't tell you what it needs or comes with.
    Last edited by dlorde; 07-23-2011 at 05:38 PM.

  3. #3
    gauravmanral's Avatar
    gauravmanral is offline Gaurav Manral
    Join Date
    Jul 2011
    Location
    Delhi
    Posts
    37
    Rep Power
    0

    Default

    @dlorde
    i too know all these things u wrote above. i'm asking about eclipse. if u can't answer then why r u getting annoyed???

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default

    Quote Originally Posted by gauravmanral View Post
    @dlorde
    i too know all these things u wrote above. i'm asking about eclipse. if u can't answer then why r u getting annoyed???
    I don't see any sign of annoyance in dlorde's response. But your SMS-style abbreviation of words is certainly annoying to me. Please read this.

    db

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

    Default

    Quote Originally Posted by gauravmanral View Post
    @dlorde
    i too know all these things u wrote above. i'm asking about eclipse. if u can't answer then why r u getting annoyed???
    I answered that question in another thread of yours: Eclipse doesn't need any other JDK, it just needs a JRE because (most of) Eclipse is written in Java itself.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,883
    Rep Power
    25

    Default

    You could get better answers if you asked these IDE specific questions in the IDE part of this forum.

  7. #7
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    Eclipse essentially reads from the JRE and JDK. It does not substitute for them.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

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

    Default

    Quote Originally Posted by Dark View Post
    Eclipse essentially reads from the JRE and JDK. It does not substitute for them.
    Huh? Eclipse doesn't need any other JDK. It doesn't care whether or not another JDK is installed.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Posting Permissions

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