Whatz the difference between jdk and jre

i would like to know the difference between jdk and jre.

Yes JRE is Java Run Time Environment. The java programming language adds the portability by converting the source code to byte code version which can be interpreted by the JRE and gets converted to the platform specific executable ones. Thus for different platforms one has corresponding implementation of JRE. But JRE has to meet the specification JVM (Java Virtual Machine) Concept that serves as a link between the Java libraries and the platform specific implementation of JRE. Thus JVM helps in the abstraction of inner implementation from the programmers who make use of libraries for their programmes.
The JDK(Java Developmental Tool kit) comes along with java libraries and JVM embedded in it. Apart from these it comes along with the utility tools for byte code compilation "javac", Executing the byte codes through java programmes through "java" and many more utilities found in the binary directory of java. Speaking practically JDK is essential for developers, which comes along with library packages to develop Software programmes. While JRE is minimal set of programmes which executes the java class files developed by the software developers.

Similar Messages

  • What is the difference between jdk  and jre

    what is the difference between jdk and jre
    plzz tell me in detail

    It's an extremely important skill to learn how to search the web. Not only will it increase your research and development talents, it will also save you from asking questions that have already been answered numerous times before. By doing a little research before you ask a question, you'll show that you're willing to work and learn without needing to have your hand held the entire time; a quality that is seemingly rare but much appreciated by the volunteers who are willing to help you.
    If you've done the research, found nothing useful, and decide to post your question, it's a great idea to tell us that you've already searched (and what methodologies you used to do your research). That way, we don't refer you back to something you've already seen.
    To get you started, here is an excellent resource: The Java� Glossary

  • Differences between jdk and jre

    can anybody explain the differences between jdk and jvm. and relation between jdk, jre and jvm.
    thanks

    Hi,
    JDK- Java Development Kit contains compiler and other appliction development tools. with this tool you can compile as well as run your application
    JRE-Java runtime Environment where Java applications are exceuted .You can only run your application here but you cant develop and compile.
    JVM-Java Virtual Machine Its interpretor which interprets and then executes you coded after it is compile ( to byte code) by Java Compiler.

  • What are the differences between jdk and sdk

    what are the differences between jdk and sdk?? thanks

    Just marketing whims.
    SDK = software development kit
    JDK = Java development kti
    Sun has use both names to refer to its SDK for Java. I forget which one they're using now, but they've switched a couple of times.

  • What is the difference between JDK and J2ee

    Could someone explain, in simple terms, what is the difference between JDK and J2ee. I am trying to understand the difference.
    THanks

    Could someone explain, in simple terms, what is the
    difference between JDK and J2ee. I am trying to
    understand the difference.You can practice on this one first. What's the difference between chalk and cheese? No just kidding.
    A JDK is a set of tools for Java development including compiler, runtime system and standard libraries. J2EE is the enterprise version of the Java technology platform (it's one of three). To use it you download the proper JDK's.

  • What is the difference between jdk and jsdk

    I don't know the difference between jdk and jsdk,if i had set up the jdk,could i develope the servlet.

    For servlets you need J2EE classes, which are in what is usually called JSDK (Java Server Development Kit). So, you cannot compile servlets with just the JDK installed, you need to download the J2EE SDK.

  • Major Difference between JDK and JRE

    Hi Support,
    Major Difference between JDK and JRE
    can you please distinguish between these two ,
    Thanks

    860707 wrote:
    Hi Support,This isn't 'support' it's a forum.
    Major Difference between JDK and JREYes, there is.
    can you please distinguish between these two ,
    Here.
    db

  • What is the difference between JVM and JRE and JDK?

    Hi , I want to know what actually is JVM,JRE and JDK ? and the difference between them?

    They should at least try. When it comes to
    terminology, if they can find this site, they should
    be able to find google, wikipedia, etc. It's
    reasonable to expect them to try there first, and
    then, if they still have questions, post here,
    indicating what they looked at and how it fell short,
    what they're still confused about, etc.Perhaps this is a valid point.
    I believe physical JVM hardware has also been
    manufactured. I wonder what we'd call that? A JPM
    (Java Pysical Machine)?No. It is simply a hardware implementation of the abstract Java Virtual Machine.
    .class files are executed by software (in fact,the
    software that executes the .class files is calledthe
    JRE and is short for the Java
    Runtime Environment). The JavaRuntime
    Environment is a native program (i.e. it is run by
    hardware) which provides the ability to executejava
    bytecodes (.class files)That's the JVM.No it's not. The JVM is an abstract architecture.
    The JRE is the JVM plus native libraries plus core
    API Java classes.The JRE is an implementation of the JVM along with some additional facilities. The JVM may be used to describe concrete implementations in industry vernacular, but this is not a technically accurate usage of the term per the specification and is therefore incorrect.
    From the preface to the Java Virtual Machine Specification, Second Edition, viewable at http://java.sun.com/docs/books/jvms/second_edition/html/Preface.doc.html:
    "The Java virtual machine is an abstract machine."
    From Wikipedia (http://en.wikipedia.org/wiki/JVM):
    "A Java Virtual Machine (JVM) is a set of computer software programs and data structures which implements a specific virtual machine model."
    Perhaps this misconception is the source of the confusion. This is one reason why I answered deepakorsun rather than refer him to somewhere else: anywhere that would be reliable and/or completely accurate would be too dense to readily understand, and anywhere understood easily enough might not be completely accurate.
    >
    The Java Development Kit (JDK) just provides the
    facilities necessary to write programs that willrun
    on the Java Virtual Machine. It contains acompiler
    It also contains tools such as jar and javap, the API
    docs for the core API classes, the source code for
    the API classes, probably a few other things, and
    generally the JRE (though I'm not sure if that's
    officially a required part of the JDK).I never said it didn't contain jar, javap, javac, java, jdb, jconsole, or any of the other programs or resources shipped with jdk. I simply stated affirmatively something it did contain. As I implied before, technical comprehensiveness is exactly what makes resources such as the JVM specification almost unusable for answering questions like this. That is why I omitted such details in my description. And since we're being all technical here, the API documentation does not ship with the Java Development Kit (at least not as of JDK 5.0), it is a separate download. It is the core API source files that ship in a .zip file with the JDK.
    Don't get me wrong, I do understand that you have probably seen a lot more people come and go from these forums than I may ever understand and that you have helped more people than you can remember, and I don't mean to disrespect that. I understand that dealing with so many people over such a long period of time and hearing the same questions over and over again can probably start to wear on your patience, but I don't think the right approach is to treat anyone that tries to help them with utter contempt and sarcasm. That's not constructive or useful to anyone. I understand why you would be upset if somebody was purposely trying to be lazy, I probably would be too, but you have no real way of determining whether or not they are being lazy or just don't know something and don't know how to figure it out for themselves so they are asking a question. And if they are honestly just asking a question in good faith and looking up the answer on Wikipedia just did not occur to them (or they couldn't understand what it said), yet they somehow ended up on this site, they have done nothing wrong and there is no reason to get angry at them.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. WTF are you talking about?!? Why waste the time to
    type something out when they can click on a link and
    find 1000 times more information than you can fit
    into one post? Either way - they're
    STILL going to have to read the
    information themselves...
    Ridiculous.So I suppose you've either read the Java Virtual Machine Specification, the Java Language Specification, and the Java Native Interface Specification in their entireties, or absolutely nothing about programming in Java. This is because, by your reasoning, these three books contain 1000 times more than anyone can fit on a tutorial, Wikipedia entry, mailing list, forum, blog, or anything else.
    Criticizing somebody who isn't doing something the exact way you think it should be done is often quite idiotic and non-constructive. I believe this is this case here. Please post something more useful, meaningful, and/or polite next time. And just for future reference, yelling at a beginner does not help them learn faster or better. It just makes them hate you.
    Oh come on, that wasn't nice. Not everybody isable
    to answer their own questions. Java terminologycan
    be confusing and difficult to understand in part
    because of all the acronyms used and all the name
    changes undergone by the various development kitsand
    platforms.Point taken. You have much more patience than
    I, but with lots of intensive therapy and proper
    adjustment of my medications, I may get better.Thank you for this post. A display of wisdom and patience. You single handedly caused me to reconsider participating in a flame war.

  • Difference between jdk and jre...

    Hi, I installed java (jdk1.6.0_03) and i got 2 folders in my pc with names jre1.6.0_03 and jdk1.6.0_03.
    I don't know what are those. And while installing Tomcat5.0 it take the default path for jre1.6.0_03 and worked properly.
    pls help me .......

    JRE = Java Runtime Environment.
    It's basically the implementation for your PC of the Java Virtual Machine (JVM) which is the software emulated processor that Java code runs on.
    JDK = Java Development Kit
    It's the JRE plus the compiler tools to allow you to write code.
    Old versions of Tomcat needed the JDK because JSPs get converted into Java Servlet source code which is compiled into class files and run on the JVM. Newer versions of Tomcat only need the JRE because Tomcat now has its own compiler (implemented in Java) built in.
    So since Tomcat's working, I don't think you have much to worry about :-)
    Edited by: dcminter on 03-Jun-2008 10:28

  • What is the difference between JVM and JRE

    hello everyone,
    a funny but really confusing question is that how a virtual machine is different from a runtime environment.
    some may argue that RE contains the API classes and implementations etc. but i need some real picture of what is the actual difference and anything related to this topic.
    thanks,
    waiting for your responses :-)

    The Java Virtual Machine forms part of a large system, the Java Runtime Environment. Each operating system and CPU architecture requires a different JRE.
    The JRE comprises a set of base classes, which are an implementation of the base Java API, as well as a JVM.

  • Difference between JDK ,SDK ,JRE

    Hi all,
    Im confused about the difference between JDK ,SDK ,JRE.What all is needed to install Java.Please elaborate.

    Even on Venus. ;)
    Goddess on the mountain top
    Burning like a silver flame
    The summit of beauty and love
    And Venus was her name
    She's got it
    Yeah, baby, she's got it
    I'm your Venus, I'm your fire
    At your desire
    Well, I'm your Venus, I'm your fire
    At your desire

  • What is the difference between jdk version 1.3.1-b24 and 1.3.1_02-b02?

    Hi,
    This is a weird question. But I really need to know the difference between jdk vesion 1.3.1-b24 and 1.3.1_02-b02.
    Anyone has a clue?
    Thanks
    Wayne

    This is a weird question. But I really need to know
    the difference between jdk vesion 1.3.1-b24 and
    1.3.1_02-b02.Bug fixes only.
    When reading the strings above, ignore the part saying "-b##" (that's the build number). So you're looking at 1.3.1 (the base release), and 1.3.1_02 (patch 02 on 1.3.1).

  • What is the difference between jdk,jre,jvm?

    hai friends
    i am new to java,
    can any body send the answer to this question
    what is the difference between jdk, jre, jvm?

    You know, you can search the Internet using google:
    http://www.google.com
    Type in What is the JVM? You'll be amazed at the results!!

  • What is the difference between JDK / JRE?

    Hi All,
    What is the difference between JDK / JRE. ?
    Is it enough if I installed JDK 5.0 Update 16 Only or Java Runtime Environment (JRE) 5.0 Update 16 is also needed.
    I as in the assumption that JDK 5.0 Update 16 contains the Java Runtime Environment (JRE) 5.0 Update 16.
    Let me know the jdk which comes along with it jre.
    Thanks
    Sree
    Edited by: psreekant10 on Oct 28, 2008 4:50 AM

    psreekant10 wrote:
    Hi All,
    What is the difference between JDK / JRE. ?JDK = Java Development Kit = Stuff used to write Java programms.
    JRE = Java Runtime Environment = Stuff used to execute/run Java programs.
    Is it enough if I installed JDK 5.0 Update 16 Only or Java Runtime Environment (JRE) 5.0 Update 16 is also needed.Yes, it's enough.
    I as in the assumption that JDK 5.0 Update 16 contains the Java Runtime Environment (JRE) 5.0 Update 16.Yes, the JDK contains a JRE.
    Let me know the jdk which comes along with it jre.<sarcasm>JDK 5.0 Update 16 contains JRE 1.4.2 Update 3, obviously!</sarcasm>
    No, seriously: Of course JDK 5.0 Update 16 contains the JRE 5.0 Update 16.

  • What is the difference between netbeans and JDK ?

    What is the difference between netbeans and JDK ?
    This is because i got netbeans 5.5 ide and nothing else and still i ran some hello world programs successfully. . ..
    i am confused - - does jdk come combined with netbeans ?

    What is the difference between netbeans and JDK ?
    This is because i got netbeans 5.5 ide and nothing
    else and still i ran some hello world programs
    successfully. . ..
    i am confused - - does jdk come combined with
    netbeans ?JDK is Java Development Kit. It includes all the Java APIs and Java tools like compiler etc so that you can develop code in Java language.
    NetBeans is an IDE (Integrated Development Environment). It provides you tools for helping you write Java code, like it provides you a text editor where you can type your java code etc. You can use any other IDE like Eclipse JCreator etc for writing java code.
    NetBeans should come packaged with a JDK. NetBeans requires JDK to function but JDK does not require NetBeans to function.
    Personally, if you are so new to the language then I would recommend that you stay away from NetBeans or any other other heavy IDE for a while and code in something like WordPad or some of the other editors recommended in this thread. This will help you learn the language better. You can latter decide on an IDE when you are comfortable with the language.

Maybe you are looking for

  • Print more than 255 columns ABAP List

    Dear gurus, We'd like to print this report S_ALR_87012357 on A4 paper. Thing is, the column is wider than 255 columns (342). I've made and use Z_65_342 format, but still when printing, it truncated, with same result as if i'm using x_65_255 format. I

  • Control receipe creation in process order

    Hi, Can you please tell me how to create control receipe. After releasing the process order when I select the button for creating  control receipe. System shows error as " No control receipe generated" Please tell me the basic steps required to creat

  • JEditorPane.setPage - detecting that asynchronous image loading is complete

    Hi, I'm using a JEditorPane to load and display an html page of a url by using setPage(String url) ... and I've added a progress bar to show the user that loading is still occuring. Currently i'm detecting that the page has finished loaded by listeni

  • Can't call up adobe support portal to get serial number for Photohop CS6

    Hello, last year I bought Photoshop CS6 Extended Student&Teacher via Amazon. I downloaded and install Photoshop on my Mac and use the Testtime. Now I want to get my serial number and Amazon gave me a "Step by Step Plan". In this plan is this Weblink:

  • Error whicle viewing Dimension Data

    Hi All, When i want see the data in dimension through data viewer,i got this error message: ENT-06969:Dimension Name COUNTRY_DIM does not exists in olap schema SH, please deploy the dimension COUNTRY_DIM into OLAP schema SH. Please help!! Regards, Ra