Re: IE & applets

From: Tom (tom.cowdery_at_bigfoot.com)
Date: 03/26/04


Date: 26 Mar 2004 08:00:49 -0800


"Lazy70" <s.pulvirenti@katamail.com> wrote in message news:<c40sjs$2bll5o$1@ID-111830.news.uni-berlin.de>...
> "Tom" <tom.cowdery@bigfoot.com> wrote in message
> news:f00f4c38.0403251350.735f7b9d@posting.google.com...
> >
> > For a newbie, your question is almost expected. You don't mention
> > what class wasn't found, so I may not address your particular problem.
>
> it's not a Sun class, is a third party class

That may be the source of the problem. If you did not write it, you
can't be sure what version of Java was used to create it. It may
using a version that is too new for the browser. IE's version of Java
is over 4 years old!

> > The easy answer is don't use IE. I switched to Mozilla a couple of
> > years back and I have never regretted it. But that is another issue.
>
> Unfortunately my site is publi, so I can be able to know what browser users
> use.
> However my problem is the same in IE and in netscape.
> I have said IE in prevoius post because my suspects about double JVM were
> strong

It wasn't clear from your first post whether you were writing code or
just trying to get your browser to work. Obviously, if you are trying
to create the applet, you cannot control what browser is used.

What version of Netscape are you using? Older versions of Netscape
(4.7 and earlier) will have the same problem as IE. Newer versions of
Netscape usually come with a more modern version of Java.

> > Any browser made by Microsoft has the potential to have problems with
> > applets created in Java. This is due to the fact that IE ships with a
> > VM that is NOT 100% compatible with the Sun standard. In fact, this
> > has been the central issue in multiple lawsuits against MS by Sun.
>
> I'm not agree about this point of view.

You are welcome to disagree, but it is more than just a point of view
- it is a fact - proven in courts of law. IE is the only browser on
the market that ships with a non-standard, 4 year old version of Java
that will not work on any other platform!

> In my (little) experience I have other problems with other browser, other
> SO, etc.
> Sometime is Sun JVM that is not platform - indipendent, even if often all
> works fine.

Obviously, English in not your first language. That is OK. I'm sure
you are doing better in English that I would in your language. I
think I know what you are trying to say, so I'll reply based on that
understanding.

You are probably correct that the Sun JVM isn't perfect. What is?
But Java is Sun's creation. It owns Java and all third-party versions
of Java are required to be compatible with Sun's version. So if you
stick with a Sun-compatible version, whether it is written by Sun,
IBM, Blackdown, Apple, or some other licensee, you can rest assured
that the version that you are using has been tested to be 100%
compatible. The ONLY version out there that failed the test is
Microsofts version. (I'm sure others failed, but they weren't
released until they passed.)

Also, don't forget that some sites were created with Microsofts
version. That can mean that they will ONLY work with the MS version
(depending on what API they used). That is part of the reason that MS
was sued and lost.

And even in tested versions, code written with version 1.4 may not run
on a version 1.3 JVM. At least with Sun, you can always get the newer
version. The MS version will never be updated.

Actually, you can get older versions from Sun as well. One option is
to download version 1.1 from Sun and use it to create your applet. If
your code will compile with version 1.1, it should work on most
browsers - including IE. Just don't be surprised if your third-party
class won't compile with the older version. I suspect that that is
the source of the problem.

A better long-term option is to write the HTML so it forces the
browser to use the plug-in. That lets you write with the latest
version and lets the user see the applet with the latest version. If
someone doesn't have the correct version of the plug-in (or doesn't
have the plug-in at all), the browser will inform them of the
deficiency and let them download it. Basically, it is the same system
used by things like Flash or QuickTime. I believe some of the other
replies have links that explain how to do that so I'll let you refer
to them.



Relevant Pages

  • Re: browser screen capture with java applet
    ... the applet would be to do the job of the actual image capturing on each ... current browser window - if that's relevant. ... minimum Java version. ...
    (comp.lang.java.programmer)
  • Re: No joy at all
    ... If no joy with Robert's suggestions.....and you can see the test applet ... General tab...Network settings - select "Use browser settings". ... Java Runtime Environment, if still there. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Java in Browser
    ... An unsigned applet can only access the host it is retrieved from. ... We want a browser to be our standard control interface, with each tab becoming a particular control function. ... Having said that, there is a real need for a standard Java app to be able to run in a browser tab, rather than independently. ...
    (comp.lang.java.programmer)
  • Re: [FYI] 2008 kommt Consumer JRE
    ... Verzeichnis viele Dateien liegen. ... Applet erstmal für 2-5 Sekunden den Browser einfriert, ... Allerdings ist das bei Java 6 auch schon besser geworden. ...
    (de.comp.lang.java)
  • Re: Instant Chess
    ... On Sun, 13 Jul 2003 Arthur Samuels wrote: ... And coz of the variable width fonts in the applet, that Java ...
    (alt.os.linux.redhat)