How does JRE works? What is the execution flow of java program?

Java runtime Environment (JRE) is part of JDK. It consists of the Java Virtual Machine (JVM), core classes, and supporting libraries.

Consider a source Sample.java, Compiler converts it into byte code as Sample.class. At run time, Sample.class file loaded into Class loader and Byte code verification will be done in class loader subsystem. Verified byte code will be executed line by line by java interpreter. It converts into machine readable format to processor.

How does JRE works? What is the execution flow of java program?, Byte code in java, class loader
Java program execution flow

Program which are written by programmer are in .java format lets say sample.java. Once it get compiled, compiler converts .java file to .class file (in the form of byte code) i.e. machine readable form. lets say sample.class.

During program execution, .class file will be loaded to class loader and here these byte code will be verified and executed. As a result, these .class files will be converted into machine language program and it feed to processor.

So over all concept here is to make our human readable program to be converted into machine readable form which respective processor can understand.

160 thoughts on “How does JRE works? What is the execution flow of java program?”

  1. Wow! This blog looks just like my old one! It’s on a completely different subject but it has pretty much the same layout and design. Great choice of
    colors! Ahaa, its pleasant dialogue concerning this post here at this web
    site, I have read all that, so now me also commenting here.
    I couldn’t refrain from commenting. Well written! http://foxnews.net

  2. It’s very effortless to find out any matter on web as compared to books, as I found this paragraph at this web page.

    I will right away grab your rss feed as I can not to find
    your email subscription hyperlink or newsletter service.
    Do you’ve any? Please allow me understand in order that I may subscribe.
    Thanks. Hi there! This blog post could not be written much better!
    Reading through this article reminds me of my previous roommate!
    He always kept talking about this. I am going to send this post
    to him. Pretty sure he’ll have a good read. I appreciate you for sharing!

    http://Goodreads.com

  3. I have learn some good stuff here. Definitely value bookmarking for revisiting.
    I wonder how so much effort you put to make the sort of excellent informative web site.

  4. I think the admin of this web site is genuinely working hard in favor
    of his web site, for the reason that here every data is quality based stuff.

  5. Hi superb website! Does running a blog such as this take a large amount of
    work? I have no knowledge of coding but I was hoping to start my own blog in the near future.
    Anyhow, should you have any recommendations or techniques for new blog owners please share.
    I understand this is off topic however I simply needed to ask.
    Thanks a lot!

  6. Wonderful blog! I found it while searching on Yahoo News.

    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Appreciate it

  7. I don’t even know how I ended up here, but I thought this post was good.

    I don’t know who you are but definitely you are going to a famous blogger
    if you are not already 😉 Cheers!

  8. Wonderful beat ! I would like to apprentice at the same time as
    you amend your web site, how could i subscribe for
    a blog website? The account helped me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast provided vibrant transparent idea

  9. We stumbled over here from a different website and thought I might as well
    check things out. I like what I see so now i’m following you.
    Look forward to checking out your web page yet
    again.

  10. Nice post. I be taught something more difficult on completely different blogs everyday. It is going to all the time be stimulating to learn content material from other writers and follow just a little one thing from their store. I’d favor to make use of some with the content material on my weblog whether you don’t mind. Natually I’ll offer you a hyperlink in your net blog. Thanks for sharing.

  11. Pingback: Google

  12. Hello, Neat post. There’s an issue together with your
    website in web explorer, could check this? IE still is the marketplace leader and a good component to folks
    will leave out your fantastic writing due to this problem.

  13. Pingback: Google

  14. What’s up to every body, it’s my first pay a quick visit of this
    webpage; this webpage contains awesome and genuinely
    good stuff in support of readers.

  15. Superb website you have here but I was curious if you knew of any forums that cover the same topics discussed here? I’d really love to be a part of community where I can get comments from other experienced individuals that share the same interest. If you have any recommendations, please let me know. Appreciate it!

  16. I blog quite often and I really thank you for your content.

    Your article has truly peaked my interest. I’m going to bookmark your blog and keep checking for new information about once a week.
    I subscribed to your RSS feed as well.

  17. Hey there! I know this is kinda off topic however I’d figured I’d
    ask. Would you be interested in exchanging links or maybe guest authoring a blog post or vice-versa?
    My blog addresses a lot of the same subjects as yours and I feel we could greatly benefit from each other.
    If you’re interested feel free to send me an email. I look forward to hearing
    from you! Superb blog by the way!

  18. An impressive share! I’ve just forwarded this onto a co-worker who had
    been conducting a little homework on this. And he in fact ordered
    me breakfast due to the fact that I stumbled upon it for
    him… lol. So let me reword this…. Thanks for the meal!!
    But yeah, thanx for spending the time to talk about this matter
    here on your web page.

  19. My brother suggested I might like this web site. He was once entirely
    right. This post actually made my day. You cann’t believe just how so much time I had spent for this information!
    Thank you!

  20. I’m not sure exactly why but this weblog is loading extremely slow for me.
    Is anyone else having this issue or is it a problem on my end?
    I’ll check back later and see if the problem still
    exists.

  21. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have
    some experience with something like this. Please
    let me know if you run into anything. I truly enjoy reading
    your blog and I look forward to your new updates.

  22. Greetings from California! I’m bored to tears at work so I
    decided to browse your site on my iphone during
    lunch break. I enjoy the info you provide here and can’t wait to
    take a look when I get home. I’m surprised at how
    quick your blog loaded on my phone .. I’m not even using WIFI, just 3G ..

    Anyhow, excellent blog!

  23. Howdy! I know this is kind of off-topic however I needed to ask.

    Does operating a well-established website like yours take a large amount of work?
    I am completely new to running a blog however I do write in my diary every
    day. I’d like to start a blog so I will be able to share my
    personal experience and views online. Please let me know if you have any suggestions or tips for brand new aspiring bloggers.
    Thankyou!

  24. Hi there, I found your website by the use of Google while looking
    for a related subject, your site came up, it seems good.

    I’ve bookmarked it in my google bookmarks.
    Hello there, simply become alert to your blog via Google,
    and located that it’s truly informative. I am gonna watch
    out for brussels. I’ll be grateful for those who proceed this in future.
    Lots of folks shall be benefited from your writing. Cheers!

  25. You are so cool! I do not believe I have read through a single thing like that before.
    So wonderful to discover somebody with genuine thoughts on this
    subject. Really.. thank you for starting this up.
    This web site is something that is needed on the web, someone with some originality!

  26. Hello, Neat post. There’s a problem together with your site
    in web explorer, may test this? IE nonetheless is the
    market leader and a huge portion of other folks
    will leave out your wonderful writing due to this problem.

  27. It’s amazing to go to see this website and reading the views of all mates
    concerning this paragraph, while I am also eager of getting
    knowledge.

  28. Awesome blog! Do you have any tips for aspiring writers?
    I’m planning to start my own website soon but I’m a
    little lost on everything. Would you recommend starting
    with a free platform like WordPress or go for a paid option? There are so many options out
    there that I’m totally confused .. Any tips?
    Many thanks!

  29. I truly love your site.. Great colors & theme.
    Did you develop this website yourself? Please reply back as I’m hoping to create my very own blog and want to learn where you got this
    from or exactly what the theme is called. Thanks!

  30. Howdy very cool website!! Guy .. Excellent .. Wonderful .. I’ll bookmark your site
    and take the feeds additionally? I’m happy to find so many useful
    information right here in the post, we want work out more strategies on this regard,
    thanks for sharing. . . . . .

  31. Does your site have a contact page? I’m having a tough time locating it but, I’d like
    to shoot you an e-mail. I’ve got some creative ideas for your blog
    you might be interested in hearing. Either way,
    great blog and I look forward to seeing it grow over
    time.

  32. I was curious if you ever considered changing the layout
    of your website? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only having 1 or two images.
    Maybe you could space it out better?

  33. Hmm is anyone else having problems with the pictures on this blog loading?
    I’m trying to determine if its a problem on my end or if it’s the blog.
    Any feed-back would be greatly appreciated.

  34. Pretty nice post. I just stumbled upon your blog and wanted to say that I’ve truly enjoyed
    browsing your blog posts. In any case I’ll be subscribing to your
    feed and I hope you write again soon!

  35. At this time it appears like BlogEngine is the top blogging platform available right
    now. (from what I’ve read) Is that what you are using on your blog?

  36. I think everything said made a lot of sense. But,
    think about this, suppose you wrote a catchier post title?
    I am not saying your content is not solid, however what if you added a title to possibly grab people’s attention? I mean How Does JRE Works In Java | execution flow (2019) | ProtechBeach is
    a little boring. You might look at Yahoo’s front page and watch how they create article titles to grab people interested.
    You might add a related video or a related pic
    or two to get readers interested about what you’ve written. Just my
    opinion, it might make your posts a little livelier.

  37. Hey there! I’m at work surfing around your blog
    from my new iphone 4! Just wanted to say I love reading through your blog and look forward to all your posts!
    Keep up the outstanding work!

  38. Good day! This is kind of off topic but I need some guidance from
    an established blog. Is it difficult to set up your
    own blog? I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about setting up my own but I’m not sure
    where to begin. Do you have any points or suggestions? With thanks

  39. I really like your blog.. very nice colors & theme. Did you design this website yourself or did you
    hire someone to do it for you? Plz reply as I’m looking to create my own blog and would like to know
    where u got this from. cheers

  40. What’s up everyone, it’s my first go to see at this site, and article is
    actually fruitful in support of me, keep up posting these content.

  41. Howdy would you mind stating which blog platform you’re working with?
    I’m going to start my own blog in the near future but I’m having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different then most blogs and I’m
    looking for something completely unique.
    P.S Apologies for getting off-topic but I had to ask!

  42. Greetings! Very useful advice within this post!
    It is the little changes that will make the
    most significant changes. Thanks a lot for sharing!

  43. Hey there, I think your blog might be having browser compatibility issues.
    When I look at your blog site in Opera, it looks fine but when opening
    in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, terrific blog!

  44. Hi, I do think this is an excellent website.
    I stumbledupon it 😉 I will come back yet again since I book marked it.
    Money and freedom is the best way to change, may you be
    rich and continue to help other people.

  45. Its like you read my mind! You appear to know a lot about this, like
    you wrote the book in it or something. I think that you can do with a few pics to drive the message home a
    bit, but other than that, this is fantastic blog.

    A great read. I will definitely be back.

  46. Good post. I learn something totally new and challenging on sites I stumbleupon every day.
    It’s always useful to read articles from other authors and use a little something from other sites.

  47. I am now not certain where you are getting your info, but good
    topic. I must spend a while finding out much more or understanding more.
    Thank you for fantastic information I used
    to be in search of this info for my mission.

  48. Thanks for some other fantastic post. Where else could anybody get that type of information in such an ideal approach of writing?
    I’ve a presentation subsequent week, and I am at the look for such info.

  49. Thank you for the good writeup. It in fact was a amusement account
    it. Look advanced to far added agreeable
    from you! By the way, how can we communicate?

  50. I blog quite often and I really appreciate your content.

    Your article has truly peaked my interest. I will book mark your site and
    keep checking for new information about once per week.
    I subscribed to your RSS feed as well.

  51. Amazing blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple tweeks would really make my blog shine.
    Please let me know where you got your theme. Cheers

  52. I do trust all of the ideas you’ve presented on your post.
    They are very convincing and can certainly work. Nonetheless, the posts are very quick
    for novices. May just you please lengthen them a little from
    subsequent time? Thank you for the post.

  53. Fantastic beat ! I wish to apprentice while you amend your site, how could i subscribe for a
    blog web site? The account aided me a acceptable deal.
    I had been a little bit acquainted of this your broadcast provided bright clear idea

  54. Great goods from you, man. I’ve understand your stuff previous to and you’re just
    too great. I really like what you’ve acquired here, really like what you’re saying and the way
    in which you say it. You make it entertaining and you still care
    for to keep it wise. I can’t wait to read far more
    from you. This is really a tremendous web site.

  55. I do not even understand how I ended up right here,
    however I thought this submit was good. I do not
    understand who you’re however definitely you’re going to a
    well-known blogger in the event you aren’t already.

    Cheers!

  56. Hi, I do think this is an excellent site.
    I stumbledupon it 😉 I will revisit once again since i have saved
    as a favorite it. Money and freedom is the greatest way
    to change, may you be rich and continue to help other people.

  57. Howdy would you mind stating which blog platform you’re working with?
    I’m planning to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most blogs and I’m looking for something unique.

    P.S My apologies for getting off-topic but I
    had to ask!

  58. Attractive section of content. I just stumbled upon your web site and in accession capital to assert that
    I get actually enjoyed account your blog posts. Any way I’ll be subscribing to your augment
    and even I achievement you access consistently rapidly.

  59. Hi there! I could have sworn I’ve visited your blog before but after browsing through a few of the articles
    I realized it’s new to me. Regardless, I’m
    certainly happy I discovered it and I’ll be book-marking it and checking back frequently!

  60. Thanks for the auspicious writeup. It in fact used to be a leisure account it.
    Look complex to far delivered agreeable from you! By the way, how can we communicate?

  61. I’m not that much of a online reader to be honest but your sites really
    nice, keep it up! I’ll go ahead and bookmark your website to
    come back in the future. Many thanks

  62. I have been browsing on-line greater than three hours nowadays, but I by no means found any
    attention-grabbing article like yours. It is pretty price sufficient for me.

    In my view, if all site owners and bloggers made excellent content material as
    you did, the net can be a lot more useful than ever before.

  63. My coder is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using Movable-type on various websites for about
    a year and am nervous about switching to another platform.
    I have heard great things about blogengine.net.
    Is there a way I can import all my wordpress content into it?
    Any help would be greatly appreciated!

  64. of course like your web-site however you need to take a look at the spelling
    on quite a few of your posts. Several of them are rife with spelling problems and
    I find it very bothersome to inform the reality then again I will certainly come back again.

  65. It’s not my first time to visit this site, i am visiting this site dailly and take good information from here all the time.

  66. Wow, wonderful blog layout! How lengthy have you been blogging
    for? you make running a blog look easy. The total look of your
    web site is excellent, let alone the content material!

  67. Wonderful beat ! I would like to apprentice while you amend your website, how could i subscribe for a weblog site?
    The account helped me a applicable deal. I had been a little
    bit acquainted of this your broadcast offered brilliant transparent idea

  68. Hello this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors
    or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding know-how so I wanted to get guidance from someone with experience.
    Any help would be greatly appreciated!

  69. Does your site have a contact page? I’m having a tough time locating it
    but, I’d like to send you an email. I’ve got some suggestions for your blog you might be interested in hearing.
    Either way, great blog and I look forward to seeing it grow over time.

  70. It’s truly very complex in this active life to listen news on TV,
    thus I simply use web for that purpose, and take the newest information.

  71. I’m really impressed with your writing skills and also with the layout on your blog.
    Is this a paid theme or did you customize it yourself? Either way
    keep up the excellent quality writing, it’s rare to see
    a nice blog like this one today.

  72. First of all I would like to say fantastic blog!
    I had a quick question in which I’d like to ask if you do not mind.

    I was interested to know how you center yourself and clear your head before writing.
    I’ve had difficulty clearing my mind in getting my ideas
    out there. I truly do take pleasure in writing however it just seems like
    the first 10 to 15 minutes are wasted simply just trying to figure
    out how to begin. Any recommendations or hints? Appreciate it!

  73. Hi there! This is kind of off topic but I need some advice from an established blog.

    Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty
    quick. I’m thinking about making my own but I’m not sure where to start.
    Do you have any points or suggestions? Many thanks

  74. I like the helpful info you provide on your
    articles. I’ll bookmark your weblog and check once more here regularly.

    I am quite sure I’ll be told plenty of new stuff
    right here! Best of luck for the next!

  75. Hmm it seems like your website ate my first comment (it was super long) so I guess I’ll just sum
    it up what I had written and say, I’m thoroughly enjoying
    your blog. I as well am an aspiring blog writer but I’m
    still new to the whole thing. Do you have any recommendations
    for beginner blog writers? I’d definitely appreciate it.

  76. Hmm is anyone else encountering problems with the pictures on this blog loading?
    I’m trying to determine if its a problem on my end or if it’s the blog.
    Any suggestions would be greatly appreciated.

  77. I needed to thank you for this good read!! I definitely loved
    every little bit of it. I’ve got you saved as a
    favorite to look at new things you post…

  78. I’d like to thank you for the efforts you have put
    in penning this blog. I’m hoping to view the same high-grade content by you in the future as well.
    In truth, your creative writing abilities has encouraged me
    to get my very own blog now 😉

  79. Having read this I thought it was very informative. I appreciate
    you finding the time and effort to put this short article together.
    I once again find myself spending a significant amount of time
    both reading and leaving comments. But so what, it was
    still worth it!

  80. Hi there, I discovered your site via Google at the same time as looking for a comparable subject, your website got
    here up, it looks great. I’ve bookmarked it in my google bookmarks.

    Hi there, simply turned into alert to your blog via
    Google, and found that it is truly informative. I’m gonna watch out for
    brussels. I will be grateful in case you continue this in future.
    Many other folks can be benefited out of your writing. Cheers!

  81. My partner and I stumbled over here coming from a different website and thought I might as well check things out.
    I like what I see so now i am following you. Look forward to checking
    out your web page again.

  82. Simply wish to say your article is as surprising. The clarity
    to your post is just cool and that i can suppose you
    are a professional on this subject. Well with your
    permission let me to grasp your feed to keep updated
    with impending post. Thanks 1,000,000 and please continue the gratifying work.

  83. Hey there I am so delighted I found your weblog, I really
    found you by mistake, while I was browsing on Askjeeve for something else,
    Regardless I am here now and would just like to say
    kudos for a fantastic post and a all round exciting blog
    (I also love the theme/design), I don’t have time
    to look over it all at the moment but I
    have bookmarked it and also included your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the awesome work.

  84. I have read so many articles or reviews concerning the blogger lovers except this article is in fact a pleasant piece of writing, keep it up.

  85. obviously like your website however you need to test the spelling on several of your posts.
    Many of them are rife with spelling problems and I to find it very troublesome to inform the reality
    then again I’ll definitely come back again.

  86. Hey there terrific website! Does running a blog similar to this
    require a massive amount work? I have absolutely no expertise in coding but I was hoping to
    start my own blog in the near future. Anyway, if you have any suggestions or techniques for new blog owners please share.
    I know this is off subject however I simply needed to ask.
    Appreciate it!

  87. My brother suggested I might like this web site.
    He was totally right. This post actually made my day.
    You can not imagine simply how much time I had spent for this info!
    Thanks!

  88. Hi there to every body, it’s my first pay a visit of
    this blog; this website contains awesome and actually good material in support of readers.

  89. A motivating discussion is definitely worth comment.
    I do think that you should publish more about this subject matter, it may not be a taboo matter but typically
    people do not discuss such topics. To the next!
    Cheers!!

  90. I have been surfing online more than 3 hours lately, yet I never found
    any interesting article like yours. It is pretty value enough for me.
    In my opinion, if all site owners and bloggers made excellent content as you probably did, the net might be a lot more useful than ever
    before.

  91. Its such as you read my mind! You appear to understand a lot about this, such as you wrote the e-book
    in it or something. I feel that you can do with a few
    % to drive the message home a little bit, however instead of that,
    this is fantastic blog. A fantastic read. I’ll definitely
    be back.

  92. Aw, this was an extremely good post. Spending some time and actual effort to
    make a good article… but what can I say…
    I hesitate a whole lot and never manage to get anything done.

  93. Having read this I thought it was very enlightening. I appreciate you finding the time
    and effort to put this information together.
    I once again find myself personally spending a lot of time both reading and commenting.

    But so what, it was still worthwhile!

  94. Hi there, I found your blog by way of Google even as looking for a comparable subject, your website got here up, it appears to be like great.
    I’ve bookmarked it in my google bookmarks.
    Hello there, simply turned into aware of your blog via Google, and
    located that it is really informative. I’m gonna watch out for brussels.
    I will appreciate for those who continue this in future.
    A lot of folks will probably be benefited from your writing.
    Cheers!

  95. Heya just wanted to give you a quick heads up and let you know a few of the pictures
    aren’t loading correctly. I’m not sure why but I
    think its a linking issue. I’ve tried it in two different browsers and both show the same
    outcome.

  96. I think the admin of this web page is genuinely working
    hard in favor of his web page, since here every information is quality
    based material.

  97. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you!
    However, how could we communicate?

  98. fantastic put up, very informative. I wonder why the opposite specialists of this sector don’t realize this.
    You should continue your writing. I’m sure, you have a great readers’ base already!

  99. This design is spectacular! You certainly know how to keep a reader amused.

    Between your wit and your videos, I was almost moved to start my own blog
    (well, almost…HaHa!) Wonderful job. I really loved
    what you had to say, and more than that, how you presented it.
    Too cool!

Comments are closed.