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.

Similar Messages

  • What is the difference between string != null and null !=string ?

    Hi,
    what is the difference between string != null and null != string ?
    which is the best option ?
    Thanks
    user8729783

    Like you've presented it, nothing.  There is no difference and neither is the "better option".

  • What is the difference between Wine, Wineskin, Winery and Wine Bottler, and how do I get Wine to *ACTUALLY* work in Mountain Lion?

    Ok, so this is my first post here and I am admittedly terrible at forums. Someone might say, "This was addressed in the ___________ thread by __________! Go read it!" --- that may be so but I've spent enough hours trying to google this problem into submission to no avail based on what is apparently working for others, so I would like a chance to get specific answers to specific questions that aren't from Mar 2011, etc.
    So first of all, I'm confused by all the various Wine programs/apps/whatevers. I've seen Wine, Wineskin, Winery, Wine Bottler, and at this point I wouldn't be surprised if there are even more than that. What's the difference between all of these and how do they work with one another? What do I actually need to get windows programs working?
    All of my google searches have led me to people giving out fish, but no one giving out fishing lessons. I'm not a pro at mac and windows and all that, but I'm a fairly bright individual who gets VERY frustrated, very quickly, when I don't understand the why and how of something I'm attempting.
    I've also found "answers" where the person attempting to help starts off helpful enough, but degrades into the most archaic of techno-babble after about 5-6 sentences. On the other hand, I've watched tutorials on youtube where the poster decides to skip (apparently crucial) sections of the tutorial, and mutters such gems as: "... you might wanna have to run Wine first before you can do anything, cuz I think it has to configure it and set up a bunch of stuff" 
    O.o
    A happy medium between techno-babble and the most basic of explanations would be ideal for me, and I'd imagine for others as well.
    Here is a summarized history of my relationship with Wine:
    Diablo II - I downloaded this awesome thing which ended up being... uh... I guess Diablo II in a Wineskin "wrapper". I'm not sure, all I know is that it's a D2 icon, and if I go to 'show package contents', it's got C drive, Program Files, et cetera inside of it. I double click it, it launches D2, and it works like a dream. <3
    'Vanilla Install' - That's what I heard someone call it. It was the command/terminal style install using xquartz and xcode found at http://www.davidbaumgold.com/tutorials/wine-mac/. I followed every instruction to the letter, and got all the way to '$ sudo port install wine', at which point it started going smoothly, free from the possible error he described regarding the installation of xcode, and then just failed after I left the room to use the restroom and came back. Please don't ask me to repeat what the error was, because honestly, after reading more things on the interwebs, I'm confused as to why it's even necessary to go through all of that, so I'd rather not try that route again anyways, rendering the error message quite possibly irrelevant.
    Wine + Wine Bottler - So I decided to try to seek out an easier method, as I know that one must exist that doesn't involve command lines. I found a video tutorial at http://www.youtube.com/watch?v=m0BBkISOcEA, and oh man would it be great if that method had actually worked. Again, I followed all instructions provided to procure my free fish, and at the point in the video where he declares that "xquarts or x11 will open" - it doesn't open. Nothing opens. I was trying to install Star Sonata, btw.
    So here I am, thoroughly worn out, frustrated at all the random places Wine is installed on my mac now, and just want someone to explain it all, from top down, without getting toooooooo technical on me. I know that might be asking a lot...

    ## I know that the poster has already found a solution, but the following is a possible answer for others that have similar issues.
    For Winebottler, just go to their website and download it. Run the program. Choose .wine as your prefix (best choice) or whatever suits you best. You'll need a functional X11. If you can't use the one that comes with your mac, download the latest one from the website.
    If your issue is one with Winebottler's Wine not running correctly due to X11, then you have a pretty ugly problem, although a simple upgrade is the best solution (Upgrade XQuartz.app).
    http://www.davidbaumgold.com/tutorials/wine-mac/#part-1
    The above website is the easiest way to get REAL wine on your computer. First of all, Wineskin WInery, etc. are NOT WINE. They are 3rd party apps that may use Wine or may have originally part of Wine, but they are no longer up to date with Wine. WineBottler is currently up to date with the stable releases of Wine (but not the maintenence releases).
    For the website tutorial and to run Wine on your mac without using a thrid party app, you will need to know a few things.
    First, you will need to know basic control of the command line. That means, sudo (you must know the administrator password to your computer), and the forms of cd (change directory).
    Second, you will need Xcode. Download 4.2 (stable) or whatever other versions you want, but beware: It is over 1 GB, and you will need time for it to work.
    Third, you will need to get MacPorts and configure it. The tutorial should have this data.
    When you download wine (use sudo port install wine-devel for the latest development release of wine), it will first download a lot of dependencies. This will take a while. After that, it will download wine itself.
    After obtaining wine, to run a program, open the terminal.app window.
    cd desktop/XYZ/ZYZ\ WRQ
    The above will first enter the desktop, then folder XYZ, then folder ZYZ WRQ. From here,
    wine th11e.exe
    Or whatever executable you are trying to open. (Using Subterranean Animism as my example).
    It should, in theory, run the program. Watch the terminal for errors. If there is an X11 problem, then it's not wine acting up. If the app crashes or has other issues, check the Wine Application Database to see if your app is compatible with wine.
    If you have any further questions or other things, feel free to reply; I may or may not get back to you, but there's a good chance that someone will come in eventually. Otherwise, the Wine Wiki should have some information.

  • What is the difference between a mac-book, and an I-pad?

    What is the difference  between a mac-book and an I-pad?

    The Macbook is a computer (running Mac OS X), an iPad is a tablet (running iOS). What are thinking of using it for ? The Mac is more powerful than iPad, so if you need processing power then that will be better suited for your needs. If you will mainly be using it for media (films, music), internet browsing, emails, ebooks, then an iPad would be sufficient.
    Macbook Air : http://www.apple.com/macbook-air/
    MacBook Pro : http://www.apple.com/macbook-pro/
    iPad Air : http://www.apple.com/ipad-air/

  • What is the difference between Safari 6.0 and 6.0.2?

    What is the difference between Safari 6.0 and 6.0.2?

    here is a copy of the text from Software Update
    Safari 6.0.2 is recommended for all users running OS X Lion v10.7.5
    and includes security updates.
    For more information, please visit: http://support.apple.com/kb/HT1222

  • What is the difference between Component,Server,Tool and Software?

    HI,
    What is the difference between Component,Server,Tool and Software?
    SHABEER

    Hi
    Every individual part that constitutes in making an SAP System is called a COMPONENT.e.g DB instance, Java CI, ABAP CI etc
    SERVER is the actual composition of different components of SAP.e.g. a database alongwith can instance would constitue an application server.
    TOOLS are the products from different organisations (SAP or Non SAP) that can be used for different functionalities like keeping a check on jobs, monitoring of the system , e.g Tivoli
    SOFTWARES are a kind of tool that help you to bring up results from the system in a user acceptable format. These are utilities that act as interfaces between the user and the system.
    regards
    Chen

  • What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?

    Hi All,
    What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?
    Thanks in Advance!

    Hi,
    Both are developed with .NET framework, per my knowledge, the biggest difference would be the environment they applied to: one for Windows platform, one for SharePoint platform:
    http://msdn.microsoft.com/en-us/library/vstudio/ms733615(v=vs.90).aspx
    http://msdn.microsoft.com/en-us/library/office/ms446847(v=office.14).aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • What is the difference between Condition Type PB00 and PBXX

    Hallow all,
    Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
    And also please explain control or Application of both on Price determination ??
    Thanks in Advance !!!!!

    Hi,
    PB00 condition type is used for automatic pricing in PO
    PBXX condition type is used for manual pricing in PO
    In Pricing  access sequence  play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
    Regards,
    Biju K

  • *what is the difference between web flow engine and sap business workflow?*

    Hi,
    Can any please guide me by telling what is the difference between web flow engine and sap business workflow?

    >
    Arghadip Kar wrote:
    > Check this link
    >
    > http://www.workflowing.com/id35.htm#1__what_is_the_difference_between
    ... which is exactly where the FAQ item came from!

  • What is the difference between E-Business suite and people soft enterprise

    hi every one
    I want know what is the difference between E-Business suite and people soft enterprise

    These are two different ERP systems - the former developed by Oracle and the latter by Peoplesoft (before it was acquired by Oracle).
    http://www.oracle.com/us/products/applications/ebusiness/018714.htm
    http://www.oracle.com/us/products/applications/peoplesoft-enterprise/018725.htm
    HTH
    Srini

  • What is the difference between Ps CC 2014 and Ps CC?

    What is the difference between Ps CC 2014 and Ps CC? Ps CC seems to work well, with OnOne Suite 9, but Ps CC 2014 won't load OnOne Suite 9, because it says it isn't properly signed. Any help with these issues? Thanks.

    Get a suitable version from OnOne and install it.
    Mylenium

  • Whats's the difference between MacBook Pro 13 and 13.3 ?

    This, Whats's the difference between MacBook Pro 13 and 13.3 ?

    Firstly, you are not in MacBook Pro forum, so you need to get your bearings.
    2nd check the specs page
    http://www.apple.com/support/macbookpro
    Then Bing/Google for reviews, Ars is always good but dozens have done one.
    2011 brings Intel Sandy Bridge processor boards, Thunderbolt, SATA3 (6G) along with options for SSD and much more RAM (can save buying RAM and doing the upgrade yourself)

  • What is the difference between version 4.7EE and ECC 5.0

    DEAR EXPERTS
    what is the difference between version 4.7EE and ECC 5.0?WHAT ARE THE ADDITIONAL FUNCTIONALTIES IN
    ECC 5.0?

    hi,
    Diff between 4.7 and ECC 5.0:
    1. 4.7 is on R/3 platform, while ECC 5.0 is on mySAP ERP 2004
    2. ECC 5.0 is having ESA(enterprise Serviceoriented Architecture)
    3.ECC 5.0 is web enabled with Netweaver technology.
    mySAP ERP is the "newer" ERP with numbering conventions like ECC (which stands for ERP Central Component) 5 or 6
    mySAP (aka mySAP.com) Business Suite contains Solutions like CRM, SCM etc. The important thing to note here is that this contains mySAP ERP, the one above
    mySAP All-in-One Solution is designed for smaller companies (the ad that says SAP is not just for large companies but for great companies where the above mentioned functionality is scaled down and is made to run on one database on a PC type of setup as opposed to the full blown architectures on which SAP traditionally set to run

  • What is the difference between PO Charge Account and PO Accrue Account ?

    Hi
    On Requistion's Distribution screen , there is a A/c codes exists : PO Charge , Accrue, Budget & Variance .
    Can anyone explain me the exact purpose of the same and what is the difference between PO Charge Account and PO Accrue Account ?
    regards
    Thanks
    SD

    Hi Sanjay,
    Here is the OA help (11i) :
    Entering Purchase Order Distributions:
    6. Enter the purchasing accounts. When you save your changes in this window, Purchasing uses the Account Generator to automatically create the following accounts for each distribution:
    Charge: the account to charge for the cost of this item in the purchasing operating unit
    Accrual: the AP accrual account in the purchasing operating unit
    Variance: the invoice price variance account in the purchasing operating unit
    Destination Charge: the account to charge for the cost of this item in the destination operating unit
    Destination Variance: the invoice price variance account in the destination operating unit
    Note: The last two accounts are created only if the receiving destination operating unit is different than the purchasing operating unit and there is a transaction flow defined between the two organizations.
    If you are using encumbrance control, Purchasing also creates the following account for each distribution:
    Budget: the encumbrance budget account
    The Account Generator creates these accounts based on predefined rules. See: Using the Account Generator in Oracle Purchasing.Hope it helps
    Xavier

  • HT2476 What is the difference between a smart mailbox and a smart mailbox folder? I'm just trying to organize my emails as they come in..Thanks!

    What is the difference between a smart mailbox and a smart mailbox folder? I'm just trying to organize my emails as they come in!!!
    Do I need to set up both?

    Maybe this will help:
    https://discussions.apple.com/message/18794948#18794948
    https://discussions.apple.com/message/8711661#8711661

  • What is the difference between MacBook pro 2011 and 2012

    What is the difference between MacBook pro 2011 and 2012

    understanding that at the time of the question, there has not been any Macbook Pro 2012, now it is later and there is.
    The difference is:
    -CPU being used (2011 models: Sandy Bridge, 2012 models: Ivy Bridge)
    -Graphics (2011: intel 3000 + on 15"/17" ATI, 2012: intel 4000 + on 5"/17" nvidia Geforce 650M)
    -USB (2011: USB2.0 only, 2012: USB3.0)
    -Bluetooth (2011. 2.1 + EDR, 2012: 4.0)
    Ivy Bridge CPUs are smaller and are a little bit more energy-efficient.
    Other than that, currently the devices are not much different in respect to performance (Apple's graphics driver performance is known to increase during upgrades, though, so the performance gap may widen up)

Maybe you are looking for

  • What is new in Contribute 4?

    Does anyone have detailed info pointing out what is new in Contribute 4? For example, how does it now handle javascript? Where is there a detailed tech spec? Thanks in advance.

  • IPhone 3GS On-Screen Keyboard Problem!

    The number, space bar and return key on my iPhone 3GS on-screen keyboard is not working until you tilt it to landscape mode! When I tap the number key, it activates the cap key. When I tap the space bar,depending on weather I'm taping the left, middl

  • Peer to Peer Airplay w Apple TV and iPhone?

    I want to do peer to peer screen sharing from my iphone 5 (ios 8.1) to my new Apple TV (model A1469, 7.0.1 (6912) software). We don't have WIFI in the office and that's why I want to do peer to peer.  I can't get my phone to find the Apple TV when I

  • Can I create a Smart Collection for images with Paths?

    I'd like a folder that automatically collects any image i have in my library in which i've drawn a vector clipping path in Photoshop. Is this possible?

  • Splitting a cell containing data with space

    hello all i have a table with data as below sno name 1 radha krishna i want to retrive data as 1 radha 1 krishna thanks in advance jyothi