> 
> Hi,
> 
> I am writing some Java applets for my web site. Since they will be put on
> the web site, I appearently want it to work under all the currently
> popular web browsers.
> 
> If I use Java 1.1 API functions, the Netscape 3.0 or less won't work. So,
> I assumed that NE 3.0 uses API 1.0 while higher versions use API 1.1.
> However, the Netscape 4.5 for iMac is NOT working with the API 1.1 on my
> test machine. That made me thinking if I did something wrong with NE
> config? I would really like to use some API 1.1 functions if all the
> netscape > 4.0 work with it. But as said, I am worried about the iMac. Any
> suggestions would be appreciated.

The Java virtual machine in browsers situation is a real mess. I'll try to
break it down for you as best I can:

Netscape 3.x and IE 3.x: Java 1.0 API only.
Netscape 4.0 -> Netscape 4.05: Java 1.0 API for AWT (GUI), 1.1 for most
                               other classes.
Netscape >= 4.06 (including 4.5, 4.6): Java 1.1 API on most platforms,
                                       except Macintosh.
Internet Explorer 4.x, 4.5: Java 1.1 API except for RMI classes (this may
                            have been added at some point)
Netscape 4.x on Macintosh: Java 1.0 for AWT, 1.1 for rest (I think - at
                           any rate it is not fully 1.1 and may be all 1.0)
Internet Explorer >= 4.x on Macintosh: You can apparently use the MrJ
                                       JVM by specifying it in the 
                                       preferences (I've never tried it)

Can you tell I deal with this stuff a lot? :-) One option is to use the
Java plugin from Sun where possible, but that is not anywhere near an
ideal solution. Hopefully the newer browers coming out will allow
selectable JVMs instead of the Netscape way of allowing only theirs or the
makeshift Java plugin.

> 
> BTW, does anyone have a clue how many people are still using Netscape 3.0
> or less? (I know the standard browser for te whole astronomy department
> is still 3.0 for solaris ... )

I don't know, but I'd say it is still a decent percentage - I know a
number of people who think the >= 4.x browsers are too bloated or don't
like the interface. Bottom line is, if you want to reach the greatest
number of browsers with an applet, the Java 1.0 API is still the best way
to do it - however I have seen an increasing number of 1.1 applets used on
web pages, but most of those are specialized and not simple web page
graphics enhancements.

> 
> Thanks
> Michael

Hope this didn't confuse you too much.

Daniel
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to