MozillaZine

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."


#1 Cool

by Anon

Wednesday September 1st, 1999 9:03 AM

Reply to this message

So this uses the JDK on your computer, what if you don't have one.

#6 Cool

by Anon

Wednesday September 1st, 1999 1:27 PM

Reply to this message

Umm... you'll have to get one? Seems simple enough.

#8 Cool

by Anon

Thursday September 2nd, 1999 1:29 AM

Reply to this message

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.

#12 Cool

by Anon

Thursday September 2nd, 1999 11:07 PM

Reply to this message

Mozilla and Java aren't going to be of much use if you don't have a computer.

#2 hmm...

by dr00p

Wednesday September 1st, 1999 10:59 AM

Reply to this message

hmm .... but on linux/unix isn't available yet ... too bad ...

#11 Java Support In Mozilla!

by Anon

Thursday September 2nd, 1999 8:27 PM

Reply to this message

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).

#13 Linux JVM

by Anon

Friday September 3rd, 1999 9:29 AM

Reply to this message

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.

#14 Linux JVM plug-in

by Anon

Friday September 3rd, 1999 10:03 AM

Reply to this message

What exactly do you mean by a Linux JVM plug-in?

kit

#3 Java 2

by thelem

Wednesday September 1st, 1999 11:45 AM

Reply to this message

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.

#7 Java 2

by Anon

Wednesday September 1st, 1999 9:16 PM

Reply to this message

go to a command prompt and type:

java -version

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.

#9 Java 2

by thelem

Thursday September 2nd, 1999 11:30 AM

Reply to this message

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?

#10 Java 2

by Anon

Thursday September 2nd, 1999 1:56 PM

Reply to this message

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.

Jake

#16 Java 2

by Anon

Sunday September 5th, 1999 7:11 AM

Reply to this message

Buggy? Why would they be buggy?

#4 JDK 1.3

by Anon

Wednesday September 1st, 1999 12:25 PM

Reply to this message

Where is this JDK 1.3 at? I don't see it at the JDC.

#5 Java Support In Mozilla!

by Lynggaard <Lynggaard@netscape.net>

Wednesday September 1st, 1999 1:13 PM

Reply to this message

1.3Beta is avalible from the Early Access Program

#15 Java2 graphics speed

by macpeep

Saturday September 4th, 1999 1:53 AM

Reply to this message

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:

<http://developer.java.sun…oper/bugParade/index.html>

#17 Java for Mozilla(Mac)

by Anon

Thursday November 18th, 1999 5:04 AM

Reply to this message

Is Java supported in the Mozilla-Milestone 11 on the Mac? I can't make it work. Ralf Scholl <rasch@skillsonline.de>