Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    12

    Cool Unanswered: JVM vs JRE vs Java Plug-In and Yahoo Chat!

    Hi

    I am a little confused as to what is required in the browser to run an applet.

    Do I require JVM installed in my browser?
    Do I require Java Plug-In installed in my browser?
    Do I require JRE installed in my browser?

    What is the difference between these three?

    My second question is about the version of JDK to use while developing Java Applets. I am planning to make a Chat Application similar to Yahoo chat. For that I made a beta version using JDK 1.4.2 but now the problem is that most of the client browsers have old version installed for e.g. 1.1.4 by Microsoft or 1.2 by Sun.
    In this case almost every user that uses my chat applet has to download the latest version from http://java.sun.com/getjava otherwise it the chat applet doesn't work on their browser. And I don't want this to happen because most of the time it takes ages to download and install the latest Java version on client browser. Yesterday on Pentimum 4 having 512 MB RAM and Windows 98 with 56K modem and it took almost 45 minutes to download and install which is unacceptable.
    If you see the Yahoo chat http://chat.yahoo.com you will see that it is developed in such a way that it supports almost all the browserd without having to install the latest version. This is what I want to achieve and I am looking from your input as to how do I make sure that the client doesn't need to install the latest version (or atleast very few clients need to install latest version). Do I need to make this chat application in an old JDK version for e.g. 1.1.6?

  2. #2
    Join Date
    Oct 2003
    Location
    Taiwan
    Posts
    16

    Re: JVM vs JRE vs Java Plug-In and Yahoo Chat!

    Originally posted by aliweb
    Do I require JVM installed in my browser?
    Do I require Java Plug-In installed in my browser?
    Do I require JRE installed in my browser?

    What is the difference between these three?
    If you see the Yahoo chat http://chat.yahoo.com you will see that it is developed in such a way that it supports almost all the browserd without having to install the latest version.
    Hi aliweb, if you install JRE, it will also install JVM into your browser, so, your 3 questions become 2 questions. I think the plug-in is different from JVM. Because my browser has a JVM with it, but when I run my sample Applet, I still need to install plug-in. So, I have the same problem with you. I found a thread in the forum at java.sun.com. You can read it at: http://forum.java.sun.com/thread.jsp...&thread=505245

    Mr. odyssey08003 said that if we use Swing, The clients will need to install plug-in. There are even 2 sample links for us. But I still don't understand how to write a plug-in needless Applet. If you know or anybody know, please tell me here, thank you very much.
    My English is poor, so... please forgive me if I make mistakes.

Posting Permissions

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