Results 1 to 7 of 7

Thread: JVM Vs CLR

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    51

    Question JVM Vs CLR

    Could anyone differenciate the Java Virtual Machine and Common Language Runtime ?

    whats the major diffeneces between the two?pros cons?

    thanx in advance

  2. #2

    Thread Starter
    Member
    Join Date
    Dec 2004
    Location
    Sydney
    Posts
    51

    Unhappy Re: JVM Vs CLR

    Iam surprised to see no replies yet! Is it becoz it isnt abt coding?!?!

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: JVM Vs CLR

    Well, the CLR and JVM obviously handle and execute different languages of code.
    The JVM executes Java ByteCode for a given architecture, whereas the CLR executes MSIL - Microsoft Intermediate Language.

    The both provide JIT compilation and garbage collection. The .NET CLR provides far far more functionality than the JVM, such as security management, COM marshalling & base class library support.


    Personally I would stick with .NET and avoid Java
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: JVM Vs CLR

    since this is VBFORUMS obviously you will get an MS biased opinion (which isn't bad), but I will point out a strong point of java, and that is its ability to run on any OS that supports the JVM, which right now is unix/linux/windows/mac/etc...

    the .NET framework runs on... well I will give you one guess...

    this isn't bad though because most target PCs will be running windows, so unless there is a need to target non windows platforms, you will find the .NET framework lots easier to deal with. I have seen some java apps in windows where they dont use any windows controls, but all the java ones like comboboxes, and scroll bars, and they really look like crap

  5. #5
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: JVM Vs CLR

    Ahhhhh my friend, but there is also the GO MONO project
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: JVM Vs CLR

    yeah but it isnt the same.. you will never get 100% compatibilty.. too many things in the framework are built around windows

  7. #7
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449

    Re: JVM Vs CLR

    I would try to rephrase by saying that the only viable comparison would be between the Java and .Net platforms themselves. It's true that .Net is heavily influenced by Java but there are differences. To me though, the similarities are so many that any decision about what is "better" really comes down to what is it you want to do, your personal experience and your personal preference. For example, I'd hate to code front-ends in Java but I'd love to have the multitude of Java's proven patterns and practices in .Net.

    Cheers,
    NTG
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

Posting Permissions

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



Click Here to Expand Forum to Full Width