Results 1 to 10 of 10

Thread: JVM or Compiler

  1. #1
    rummy is offline Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    0

    Default JVM or Compiler

    Hi all,

    I have a doubt that "JVM or compiler" which one is important

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,406
    Rep Power
    25

    Default Re: JVM or Compiler

    Have you Googled about them to see what they are?

  3. #3
    rummy is offline Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    0

    Default Re: JVM or Compiler

    Ya, I know about these two.. But I cant justify which one is more important???

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,406
    Rep Power
    25

    Default Re: JVM or Compiler

    Your question means you do not understand what those two programs are.
    For example: Which is more important: your left foot or your right foot?

    Please explain what each of those programs do.

  5. #5
    rummy is offline Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    0

    Default Re: JVM or Compiler

    Compiler converts source code to byte code and gives that to JVM. JVM takes that byte code and gives us predicted thing..
    I know both are important... When I come across this question what I need to tell in interviews??

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,406
    Rep Power
    25

    Default Re: JVM or Compiler

    How would you answer this question:
    Which is more important: your left foot or your right foot?

  7. #7
    rummy is offline Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    0

    Default Re: JVM or Compiler

    I cant answer for your question.. My question is also like that ah??

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,406
    Rep Power
    25

    Default Re: JVM or Compiler

    Which one can you do without?

  9. #9
    rummy is offline Member
    Join Date
    Jan 2010
    Posts
    21
    Rep Power
    0

    Default Re: JVM or Compiler

    Sorry, now i am cleared. Thanks

  10. #10
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    12,008
    Rep Power
    20

    Default Re: JVM or Compiler

    Quote Originally Posted by rummy View Post
    Compiler converts source code to byte code and gives that to JVM.
    The compiler creates byte code from the source code, in the form of .class files.
    It doesn't then pass them to the JVM.

Similar Threads

  1. JIT compiler?
    By drone13 in forum Advanced Java
    Replies: 1
    Last Post: 01-26-2010, 10:03 AM
  2. compiler,JIT compiler & interpreter
    By gamilah in forum New To Java
    Replies: 4
    Last Post: 11-04-2008, 12:32 AM
  3. Compiler
    By pawankumarom in forum New To Java
    Replies: 3
    Last Post: 09-08-2008, 01:11 PM
  4. Compiler?
    By robin105 in forum New To Java
    Replies: 2
    Last Post: 07-26-2008, 02:46 AM
  5. compiler
    By jidd in forum New To Java
    Replies: 3
    Last Post: 01-29-2008, 12:40 PM

Posting Permissions

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