As I tried Internet Explorer 4.0 beta1 on my PC with Win95, I found some unexpected errors. Some of them were already indicated in 'Release Notes' of IE4.0b1; some kind of extraordinary HTML codes and ActiveX Control might not work. They actually happened but were definitely admitted. They will be (or may have been already) fixed in the newer version.
But some fatal errors of JavaScript and Java aren't acceptable. There's no description in 'Release Notes'. As to JavaScript, I can figure out to a certain degree what functions are to cause errors. So perhaps I can modify the error codes myself. But there's no knowing about Java errors. Even a slight suggestion isn't given me to detect error codes in my Java source, for there seems no difference between the normal programs and the errored ones.
Take a sample program from JDK 1.1.1, 'TicTacToe' doesn't work on IE4.0 b1. (It works rightly on IE3.02, Netscape Navigator3.0 or Netscape Communicator beta version.) If you start it, the status shows an error message like "exception: comms.applet.AppletSecurityException: security. Couldn't connect to with origin from file", though most of the other sample programs are executable on IE4.0. I never understand the meaning of the error message. What a shock to me; all my Java programs can't work because of the same reason. They're certainly O.K. on IE3.02 or NN3.0 or NC.
I thought for a while it was simply because of the old version of JDK1.0.1 that I compiled my programs first with. So I recompiled my programs with JDK1.1.1, but there was no improvement. The error message in status looks like it suggests those programs were trapped by security check or something. Then how should I rewrite all my source programs? If anybody knows how to treat this case, please let me know.
After this trouble, I gave up IE4.0b1; I uninstalled it and reinstalled IE3.02 just according to the 'Release Notes'. But it's still badly affected by the removed IE4.0b1, because Java isn't recovered even on the reinstalled IE3.02. Which .dll files should I delete?
I think I better install the later version of IE4.0 again. Let me know when the revised version will be released.
nhideki
The IE4 preview does not contain the latest version of the JVM. There was a problem with build 1516 that caused security exceptions to be thrown when trying to load images from the local disk. This was fixed in build 1517.
If you re-installed IE3.02 you probably went back to build 1516 (not certain) so you should install the latest VM which is now 1518.
David
I just tried what David advised me. And I found many Java programs really worked so I thought it really solved the problems.
> Take a sample program from JDK 1.1.1, 'TicTacToe' doesn't work on IE4.0 b1.
> (It works rightly on IE3.02, Netscape Navigator3.0 or Netscape Communicator
> beta version.) If you start it, the status shows an error message like
> "exception: comms.applet.AppletSecurityException: security. Couldn't
> connect to with origin from file", though most of the other sample programs
So I wrote them back again.
As to my article on
> Newsgroups: microsoft.public.inetexplorer.ie4.java_applets
> Subject: Java doesn't work on IE4.01b
> Date: 5/22/1997 19:43
I received two emails of questions. I think I should answer here in this newsgroup. I'm sorry for being too late to reply.
First one from Ms./Mr. Yechezkal-Shimon Gutfreund
I installed SDK 2.0 downloaded from http://www.microsoft.com/java
and then JVM (Java Virtual Machine) build 1518 was set up in my PC. Maybe you could install JVM only if you like. Refer to http://www.microsoft.com/java/issue-f.htm for details.
I don't know MSDN, so I can't tell anything about it. But I don't think anything wrong to download SDK or JVM no matter who you are. I'm a member of MSBN (Microsoft Site Builder Network), not MSDN. Maybe you'll be required to be a member of MSBN before you download. I'm not sure.
Second one from Ms./Mr. gautier.triffault
First of all I must apologize that I was careless to say "Installing build 1518 has solved everything." It wasn't exactly true. As to the questioned sample programs including "TicTacToe" compiled by JDK1.1.1 or by JDK1.0.2, JVM build 1518 solved the problem. But later on I found some other programs didn't run well. Error message says "exception: java.lang.SecurityException:cannot access file..." Now I'm still trying on JVM build 1518 and seeking what's good or bad to cause an error.
I also have to confess I've failed to reinstall IE4.0. So now I can't examine Java programs properly under the requested condition. I've been trying on IE3.02 with JVM build 1518. As I wrote in my article, the old JVM of IE3.02 was affected by IE4.0 even after I uninstalled IE4.0. So it sounds like I'm using a hybrid of IE3.02 and IE4.0 in case of running Java. But I don't know if the JVM build 1518 on IE3.02 is the same as that on IE4.0.
Perhaps I shouldn't presume on this matter now. But I guess some kind of security check is the main reason for all the problems. Looks like the difference of versions of JDK doesn't matter. (It matters on Netscape Communicator 4.0, you know.) I might think an error comes up, if my program tries to read a file from my local disk (when the file is in the different folder than where the program is located). Will anybody be kind enough to explain what is the fact?
>>Thanks David. You're absolutely right. Installing build 1518 has solved
>>everything.
>
>Are these builds available to MSDN members? Where?
> Hi,
>
> I saw some of the messages you posted in the microsoft news groups about using
> java 1.1.1 within IE4.
> We are currently developping an intranet application using jdk1.1.1, and of
> course we are looking for another browser than hotjava :-).
> If I correctly understood your messages, you succeded in running the 1.1.1
> version of the Tic Tac Toe within IE4.0.
> If so, could you please let me know how you did (I've been trying for one
> week.... :-), even with the new Java VM ).
> Otherwise, do you have any update on when jdk1.1.1 will be fully supported (awt
> included) by IE4.
>
> Thanks in advance.
> Gautier
I finally removed all IO drivers and overwrote Win95 in my hard disk again. Then it was recovered. All my efforts exhausted. But nothing was lost after all. That's why I don't recommend Internet beginners to try IE4.01b1. It may cause a quite devastating error you can't avoid formatting all your hard disk.
I still don't go quite well with my Java programs on IE3.02 which is affected by IE4.01b1 nor on Netscape Communicator 4.0b. Java programs compiled by JDK1.1.1 don't run on Netscape Communicator 4.0. It looks like because of the new security check that causes the error. Error message saying "exception: java.lang.SecurityException: cannot access file..." can be avoided if you put the called files in the same folder as the calling .html files are located. But I'm not quite sure. I'm still keeping on my experiments now.
Mail to NH