亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

What is the difference between JRE,JVM and J

系統 2406 0

If you are a Java developer, it is very often that you think about understanding the JRE,JVM and JDK. Once if you understand these things, it would be quite easy for you to visualize things in logical manner. Also look at the picture below, that will clear all your questions about the JRE,JVM and JDK. This article explains about the each term and will make you understand perfectly. Hope this helps. If you are happy to receive our future updates on Java, please subscribe? here .

JDK (Java Development Kit)

Java Developer Kit contains tools needed to develop the Java programs, and? JRE ?to run the programs. The tools include compiler (javac.exe), Java application launcher (java.exe), Appletviewer, etc… Compiler converts java code into byte code. Java application launcher opens a? JRE , loads the class, and invokes its main method.

You need? JDK , if at all you want to write your own programs, and to compile the m. For running java programs, JRE is sufficient. JRE is targeted for execution of Java files i.e.? JRE ?=? JVM ?+ Java Packages Classes(like util, math, lang, awt,swing etc)+runtime libraries.? JDK ?is mainly targeted for java development. I.e. You can create a Java file (with the help of Java packages), compile a Java file and run a java file.



JRE (Java Runtime Environment)

Java Runtime Environment contains JVM, class libraries, and other supporting files. It does not contain any development tools such as compiler, debugger, etc. Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE. If you want to run any java program, you need to have JRE installed in the system

JVM, JRE and JDK The? Java Virtual Machine ?provides a platform-independent way of executing code; programmers can concentrate on writing software, without having to be concerned with how or where it will run.? But, note that JVM itself not a platform independent. It only helps Java to be executed on the platform-independent way. When JVM has to interpret the byte codes to machine language, then it has to use some native or operating system specific language to interact with the system. One has to be very clear on platform independent concept. Even there are many JVMs written on Java, however hey too have little bit of code specific to the?operating systems.?

If u just want to run applets (ex: Online Yahoo games or puzzles),? JRE ?needs to be installed on the machine.

JVM (Java Virtual Machine)

As we all aware when we compile a? Java file , output is not an ‘exe’ but it’s a ‘.class’ file. ‘.class’ file consists of? Java byte codes ?which are understandable by JVM. Java Virtual Machine interprets the byte code into the machine code depending upon the underlying operating system and hardware combination. It is responsible for all the things like garbage collection, array bounds checking, etc… JVM is platform dependent.

The? JVM ?is called “virtual” because it provides a machine interface that does not depend on the underlying operating system and machine hardware architecture. This independence from hardware and operating system is a cornerstone of the write-once run-anywhere value of Java programs.

There are different JVM implementations are there. These may differ in things like performance, reliability, speed, etc. These implementations will differ in those areas where Java specification doesn’t mention how to implement the features, like how the garbage collection process works is JVM dependent, Java spec doesn’t define any specific way to do this.




- See more at: http://www.javabeat.net/what-is-the-difference-between-jrejvm-and-jdk/#sthash.Q8bQwkue.dpuf

What is the difference between JRE,JVM and JDK?


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 国产精品国内免费一区二区三区 | 狠狠色噜噜狠狠狠狠888奇米 | 一级欧美视频 | 免费的爱爱视频 | 狠狠操综合网 | 久久精品3| 亚洲 欧美 中文 日韩欧美 | 蜜桃久久久久久久久久久 | 天天躁日日躁狠狠躁黑人躁 | 国产毛片视频网站 | 一级做受视频免费是看美女 | 女孕学护士一级毛片 | 日本囗交做爰视频欧美 | 午夜精品久久影院蜜桃 | 在线视频综合视频免费观看 | 成人午夜影院在线观看 | 久草在线视频资源 | 在线小视频国产 | 精品无人区乱码一区2区3区 | 日韩中文字幕在线视频 | 亚洲欧美成人永久第一网站 | 热re99久久精品国产99热 | 爱爱夜夜爽成人夜夜爽 | 国产99久久九九精品免费 | 久久视频免费 | 天天爽夜夜爽免费看 | 国产精品美女久久久久 | h片在线看 | 成人毛片18岁女人毛片免费看 | 久久日本精品99久久久久 | 这里只有久久精品 | 久久精品一区二区三区四区 | 乱色欧美videos黑人 | 日本高清不卡网站免费 | 91亚洲国产成人久久精品网站 | 一区不卡在线观看 | 国产香蕉精品视频在 | 国产成人精品午夜免费 | 国产综合久久久久 | 久久er99热这里只是精品 | 亚洲欧洲久久久精品 |