tag:blogger.com,1999:blog-8712770457197348465.post3826418437672054829..comments2024-03-18T23:01:42.768-07:00Comments on Javarevisited: Difference between JVM, JIR, JRE, and JDK in Java? [Answered]javin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-8712770457197348465.post-52228468824314312602018-01-14T04:07:41.702-08:002018-01-14T04:07:41.702-08:00Not clear at at all.Not clear at at all.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-654235852699561972016-12-29T23:47:25.496-08:002016-12-29T23:47:25.496-08:00Hi,
Thanks for Sharing the Article.
Could you expl...Hi,<br />Thanks for Sharing the Article.<br />Could you explain theAnonymoushttps://www.blogger.com/profile/01030654248744936032noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-24736499953516040712016-09-07T11:33:57.502-07:002016-09-07T11:33:57.502-07:00Becoz of byte code conversion java is platform ind...Becoz of byte code conversion java is platform independent in the sense it once the code us written it need to write again in a different pattern once its written it translates the code into understandable language through the byte code.It is common in very languageAnonymoushttps://www.blogger.com/profile/15297396461902665187noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-23388353473847947742016-06-25T18:53:40.335-07:002016-06-25T18:53:40.335-07:00@vaibhavi, well said, that's exactly why you h...@vaibhavi, well said, that's exactly why you have different JVM for 32-bit and 64-bit, windows, Linux, Mac OS X or Solaris.javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-67723737552288668692016-06-25T04:38:50.133-07:002016-06-25T04:38:50.133-07:00JVM isn't platform independent, instead JVM pr...JVM isn't platform independent, instead JVM provides platform independent feature to Java code(byte code).<br />When byte code is generated after compiling your written code, it can be taken to any operating system for running it which is possible due to JVM (specific to OS) which converts the byte code into the machine language depending on the OS.Anonymoushttps://www.blogger.com/profile/00825433135403169290noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-23742632051589398712014-06-12T13:55:48.872-07:002014-06-12T13:55:48.872-07:00To Amit: In short words, what is platform independ...To Amit: In short words, what is platform independant is the java bytecode<br />JVM need to be platform specific because it will translate this bytecode into machine code.<br />As Shubham said, for example if you write your program in Windows and you create your .class, then this .class file is platform independant, the hosting JVM (let´s give another example here, let´s say we have as destiny a Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-32797384272466732442014-03-20T12:10:40.073-07:002014-03-20T12:10:40.073-07:00To Amit : In java, code is interpreted i.e. conver...To Amit : In java, code is interpreted i.e. converted line by line. While in compilation whole code is converted in a go. But Java also support JIT compilation, in which a common chunk of code which is repetitively used, can be compiled once and placed at some place. Now rest of the Java code is interpreted, and when call comes to repetitive part, the compiled code is used (instead of Shubhamhttps://www.blogger.com/profile/03381776577899757119noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-69918205274774429742014-03-20T12:01:49.729-07:002014-03-20T12:01:49.729-07:00To Nitin Jain. JVM is not platform independent, Ja...To Nitin Jain. JVM is not platform independent, Java is platform independent. In-fact JVM creates a environment, so that Java could be platform independent. JVM is according to platforms like windows/linux/Mac. A .class file of a .java file could be executed on any JVM, and it gives same result on each platform (thus platform independence). actually the Machine code (of this .class file) which isShubhamhttps://www.blogger.com/profile/03381776577899757119noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-45395668316447138272014-03-19T00:45:57.659-07:002014-03-19T00:45:57.659-07:00JRE : jre contains the jvm and some other librarie...JRE : jre contains the jvm and some other libraries and file which is helpful for jvm to execute the java program.<br /><br />JDK : jdk contains JRE and Development tools like javac ,java etcAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-9974590786933446362013-12-27T22:42:06.129-08:002013-12-27T22:42:06.129-08:00which is platform independent JDK or JRE which is platform independent JDK or JRE Anonymoushttps://www.blogger.com/profile/04472469179719478117noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-53145619985105341292013-11-21T07:56:24.856-08:002013-11-21T07:56:24.856-08:00Amit
Every program need to satisfy the security...Amit <br />Every program need to satisfy the security policies after loading till execution. this affected the execution speed .jit is both compiler and interpreter used to compensate this loss.most of the compiler now are jit.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-63967281700706651032013-11-21T07:41:52.480-08:002013-11-21T07:41:52.480-08:00I came to know that jvm is not a program it is jus...I came to know that jvm is not a program it is just doccumentation containing specifications on what should be the format of exe etc.jre is responsible for the execution of java program .Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-42366260873559001072013-04-24T19:34:57.976-07:002013-04-24T19:34:57.976-07:00I Couldn't understand the JIT part.I Couldn't understand the JIT part. amithttps://www.blogger.com/profile/06014647188293646062noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-48107190643055593922013-02-28T00:38:46.709-08:002013-02-28T00:38:46.709-08:00If JVM is platform independent then why JVM is dif...If JVM is platform independent then why JVM is different for Windows and Linux?Anonymoushttps://www.blogger.com/profile/16938280756747352676noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-25915466693447413952013-02-20T00:28:07.007-08:002013-02-20T00:28:07.007-08:00Can we run Java program without JRE? does JRE only...Can we run Java program without JRE? does JRE only contains java or javaw command or something else ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-22231900817430842922012-01-03T20:29:41.299-08:002012-01-03T20:29:41.299-08:00Another differnce over JDK vs JRE is that when you...Another differnce over JDK vs JRE is that when you install JDK in your machine , JRE comes automatically and you can check this by going to your JAVA_HOME or Java installation directory. JRE should be in PATH JAVA_HOME/jre. Also all certificates used by Java are stored in keystore which exists inside JRE folder.JDK Gurunoreply@blogger.com