Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: what is JVM?

  1. #1
    New to the CF scene
    Join Date
    Jul 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    what is JVM?

    hai,

    what is JVM?

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,609
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Java Virtual Machine - an environment that converts Java code into code that can run on the local operating system.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Its Java Virtual Machine..The Source code which we write for Java, is read by JVM..

  • #4
    New Coder
    Join Date
    Aug 2013
    Posts
    25
    Thanks
    2
    Thanked 2 Times in 1 Post
    A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use a virtual machine model for the execution of other computer programs and scripts.

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Zwolle, The Netherlands
    Posts
    1,120
    Thanks
    2
    Thanked 31 Times in 31 Posts
    You define the logic of the program in source code. This source code is then compiled. With languages like C, C++ or VB(.NET) etcetera, the compiler creates an executable program that is directly runnable from within the operating system. With Java compilation, byte code is generated which cannot be executed directly withing the OS. An intermediate layer is needed. This layer is the JVM. The JVM is executable within the OS and you tell the JVM which byte code needs to be executed for your program logic.
    Advantage: for (as far as I know) every OS, a JVM is available. So when you program in Java, your program can be executed on every OS. Because the JVM is an intermediate which is specific for the OS, you don't have to worry too much about the OS your program is running. When programming in another language, these are things to worry about.
    I am the luckiest man in the world

  • #6
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As the above posters have said, JVM stands for "Java Virtual Machine." Rather than repeat what was said I thought I would give you this graphic to help visually display the idea.


  • #7
    New Coder
    Join Date
    May 2014
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In simpler terms, JVM is a platform-independent execution environment that converts Java bytecode into machine language and executes it.

  • #8
    New to the CF scene
    Join Date
    Jun 2014
    Location
    Chandigarh
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Acronym for Java Virtual Machine. An abstract computing machine, or virtual machine, JVM is a platform-independent execution environment that converts Java bytecode into machine language and executes it. Most programming languages compile source code directly into machine code that is designed to run on a specific microprocessor architecture or operating system, such as Windows or UNIX. A JVM -- a machine within a machine -- mimics a real Java processor, enabling Java bytecode to be executed as actions or operating system calls on any processor regardless of the operating system.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •