Java Support In Mozilla!
Tuesday August 31st, 1999
Bill Lynch writes, "Java support is alive and well in Mozilla! According to the OJI page support was added as of the 29-Aug build. I downloaded the NT 31-Aug build and tested it with java.sun.com and it worked beautifully. By default it used my current JDK which is the jdk1.3beta with the most current build of HotSpot. I was curious to see how Swing (GUI) performed so I loaded up the SwingSet2 demo and it worked -- perfectly and it was fast!! One other interesting thing to note -- NO CRASHES. Apprunner held up fine during various tests. This is very cool."
So this uses the JDK on your computer, what if you don't have one.
Umm... you'll have to get one? Seems simple enough.
You'' have to get one. You can probably just dowload the runtime environment. Also jusging the sun netscape alliance, it is more than likely that a copy of the java runtime environment will be bundled with ns5.
Mozilla and Java aren't going to be of much use if you don't have a computer.
hmm .... but on linux/unix isn't available yet ... too bad ...
Hi there, my name is George Drapeau. I'm an engineering manager at Sun for the "Blackwood" project; one of my responsibilities is the OJI work.
We'd love to support OJI on Linux, but we have no resources right now to write a Linux JVM plug-in. If you can find one or do one, we can promise to support the OJI API side. It's our intent to support the OJI browser side of things on the Big Four platforms (Win32, Mac, Linux, Solaris).
Why don't you just get the part of Sun that writes JVMs to port their code to Linux then. Seems like as a Sun engineering manager you are in a better position to make this happen than most people.
Does this mean that you will easily be able to upgrade to Java 2 and other updates when they come out?
If so is there a way to find out which java version is running.
That probably sounds stupid, but I expect to get into Java soon so I want to know I can detect what version is running.
go to a command prompt and type:
If you don't have the Sun JDK or JRE installed, it will say some version of Microsoft's JVM, if you are using windows which I am assuming.
That is not what I mean. I mean will you be able to place Java 2 Applets on pages while still providing a Java 1.2 or 1.0 applet for older users?
Sure, all previous versions of Java are supported for the most part. Applets built for older versions of the virtual machine might be somewhat buggy, but they can certainly run on the newer virtual machine. If you coded a "top secret" java 1.4 applet which used packages and classes specific to that JVM, well, then you'd have a problem with previous JVM's, but older applets will work on the newer JVM.
There is no need for a check. Anyway, it looks like Mozilla only works with the Newest JRE (the 1.3 pre-release). I tried it with 1.2.2 and it didn't even recognize that the JVM existed.
If you are talking about coding new applets for use by people using other browsers with older JVM's, well, that is the same problem people have always had. If you code for the brand new stuff, you may leave some people out who haven't updated the JVM.
Where is this JDK 1.3 at? I don't see it at the JDC.
#5 Java Support In Mozilla!
Wednesday September 1st, 1999 1:13 PM
1.3Beta is avalible from the Early Access Program
While we're on the topic of Java 2 in Mozilla, I want to point out that Java 2 is *MUCH* slower than Java 1.1 in terms of graphics because of a well known bug. This bug (4185726) has been on the top of JDC's bugparade for almost a year now, and the last of the very few comments from Sun were added in February!
I for one would much rather see a stable and fast Java 1.1 plugin bundled with Swing than a slow Java 2 plugin with "built in" Swing support.
For those of you who didn't know, Java 2 can be up to *50* times as slow as Java 1.1 in graphics though usually the factor is closer to 2 than 50. In any case, you can see the graphics slowdown very clearly if you run an application that uses Swing. First run it with Java 2, then with Microsoft's jview or Sun's / IBM's Java 1.1 VM's and you will without a doubt add your bug parade vote to bug 4185726 at:
Is Java supported in the Mozilla-Milestone 11 on the Mac? I can't make it work. Ralf Scholl <email@example.com>