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

Similar Messages

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • What is the difference between ojvm and client versions?

    Changing the java vm from client to ojvm result in the following error:
    Errormessage:
    java.lang.UnsatisfiedLinkError: no UniqueC in java.library.path
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm FAILS
    Project Settings -&gt; Configurations -&gt; Development -&gt; Runner -&gt; Virtual Machine -&gt; ojvm      RUNS OK.
    Project Settings -&gt; Configurations -&gt; Development -&gt;Paths -&gt;Additional Classpath:
    C:\jars\xerces.jar;C:\jars\UniqueC.dll;C:\jars\log4j-1.2.8.jar
    What is the difference between ojvm and client versions? How can I make ojvm to find UniqueC.dll?
    Various version info:
    Output from program:
    java version:1.4.2_01
    java home:C:\programfiler\JAVA\2sdk1.4.2_01\jre
    java vm version:9.0.3.738 cdov
    Taken from JDeveloper Help About:
    Oracle IDE     9.0.3.10.35
    UML Modelers Version     9.0.3.9.4
    Business Components Version     9.0.3.10.7
    java.version     1.3.1_02
    java.vm.name     OJVM Client VM
    java.vm.version     9.0.3.738 o

    However, Adobe offers extra paid services to create PDF or to export PDF to other formats. You are not required to buy them, however.

  • 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 api and sdk

    Hi,
    Could anybody clarify for me what are the difference between API and SDK? I googled for the answer, and couldn't find any thing on this topic.
    Many thanks in advance.
    javasfan

    Is it correct to say that "a SDK includes all the
    APIs"? or "API sits on top of the SDK"?It's a bit weird to say either. First, the JDK doesn't include all APIs. Just the J2SE core API. Others, like 3rd party libraries or J2EE are not included. Second, if you mean the API docs, they're also not included IIRC.
    It'd technically only be correct to say "the SDK provides an API", I guess. The example is very lame, but: if the SDK is a machine, the API is the sum of its buttons and levers and gauges and intakes and outlets and exhausts. The API docs are the manual.

  • What is the difference between #variable_name and :variable_name?

    Hi!
    What is the difference between #variable_name and :variable_name?
    I have found that if we use alphanumeric variable then :variable_name return value in quotes but #variable_name without quotes.
    Why it does not work in the same way for variable default values when variable is used in filter? (It works in mapping)
    I use variable in filter like T.OUT_DATE>convert(datetime,:LAST_UPDATE_DATE,121)
    When I use my variable in package and do refresh it works fine. But when I try to execute the same interface with variable default value I get error. Seems that variable name has been not changed to the value. It does not work with default value in quotes neither without quotes.
    Any ideas how to solve that?
    Thank you in advance!
    Edited by: user13278245 on Sep 15, 2010 4:34 AM

    Question is how to make it work with default value, when I execute interface standalone, not in package? And why it works in mapping but not in filter?
    + I have found that it works if source is Oracle. It doesn't work only for MS SQL source.
    Edited by: user13278245 on Sep 15, 2010 6:43 AM

  • What is the difference between start() and run()

    Hi:
    what is the difference between start() and the run()???
    in my app, i have
    Console.debug( "starting thread to listen for clients" );
    _server = new Server( this );
    _server.start();
    _server extends Thread..
    why everytime i use server.start(); my app will terminate on it is own, even though in my servr.run() method, i have a while loop
    and if i call _server.run() explicitly in my code, that while loop will be in execution
    can someone let me know??
    thnx

    what is the difference between start() and the
    run()???start() is a method on Thread that tells it to start.
    run() is a method in the object that the thread executes.
    why everytime i use _server.start(); my app will
    terminate on it is own, Err.... I'm not convinced this is true. It'll throw an IllegalThreadStateException, if you try to restart an existing thread.
    If that's what you're saying.
    even though in my _servr.run()
    method, i have a while loopI don't see the connection. Are you saying that the while loop never terminates, and you don't see why the thread is terminating?
    and if i call _server.run() explicitly in my code,
    that while loop will be in executionIf you call server.run() explicitly, then run() will be executed in the same thread that you called it in.

Maybe you are looking for

  • How to catch date errors and continue processing in a PL/SQL procedure

    I'm updating a date field with dates constructed from day, month and year fields. The incoming data has many instances of day and month that are not valid dates, ex 11 31 2007. There is no 31st day in November. I would like to write a pl/sql script t

  • Help with secure zone/ forum registration

    Im having difficulty grasping the secure zone concept and ive spent days watching videos and reading online so I hope someone can help push me forward. I built the site with Muse, and im using dreamweaver and the BC site (older view) to help edit.  I

  • Make HP7510 printer use other cartridge when printing black and white document.

    Hi, HP7510 inkjet printer. Assuming normal black is used up. Will the printer continue with the photo black cartridge to complete documets? Can I configure the printer to do so? Claes

  • Structure for month and quaterly for entire year Urgent Please

    Hi All, Jan-07     Feb-07     Mar 07     Q1-07         Avg Dec 06     Jan-07     Feb-07     Avg Q1-07        Ytd Apr 07     May 07     June 07     Q2-07       Avg Mar 07     Apr 07     May 07     Avg Q2-07       Ytd Jul-07     Aug-07     Sep-07     Q

  • Serious WiFi issue (Consistently dropping signal)

    Hello All, Thank you for hearing my issue and possibly offering suggestions. I have a 27inch iMac that is about 2 years old, and recently as I am browsing the web my internet stops working. I have tried re-setting my router, my modem, etc. Nothing wo