jvm - What is the utility of converting source code to Java bytecode -


since 1 needs different jvms different architectures, not understand point of compiling bytecodes. in many other languages, use different compilers each target platform (instruction set architure , operating system), in java replace different compilers different jvms.

what logic behind introducing concept of jvm , bytecode compilation step??

the idea of jvm allow programmer distribute single version of software (instead of 1 each different platform). installation of correct jvm responsibility of user.

the java language offers abstraction of os , system functions, can accessed in same way. jvm converts abstractions system specific commands.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -