Discussion Locked

Java incompatibility?

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am not a programmer but I have been assigned the job of verifying the functionality of a web page for my company.

The annoying problem is a Java applet that will not run on Netscape 4.76 on W98.
When attempting to run I get the error message:
"Applet {applet name} can't init: NEW"

When I run the same applet from IE 5.5 on W98, on the same PC, the applet works correctly.

Why won't it work for Netscape?

6 replies

by kathy werner

Sounds to me like the Applet was not written for both IE and Netscape. In order for the Applet to work in both browsers it must be written for both IE and Netsacpe. Do you happen to know where the Applet came from??? If so you might be able to contact the Applet author and see if they can fix the Applet to run in both browsers. If you cant contact the arthur then you will have to find another Applet that will accomadate both browsers.
Hope this helps.
Kathy

by mc_user

I thought a Java Applet, by its very nature, was suspose to be OS/Browser independent?

The applet was written about two years ago by a contracted programmer. Long gone.

by jimhm

Why does it work in MicorJunk and not Netscape is because the "Contract Programmer" used Java Class's that are no longer supported in the latest JDK release - but because MicroJunk is still using release 1.1.4 it works. Go to the Javasoft site for alist of class's that have been removed from the lates JDK.

So you will have to upgrade - your class's in that Applet - if it is yours. (Another contractor to rename the class's - Javasoft will have the new class for the removed class)..

To prove it - download the JDK plugin that will over ride the 1.1.4 Microjunk version - and it will fail in both environments..

Hope this helped..

by mc_user

After much research I found out the answer, and I think it came out of left field. The problem was not with the Java Applet but with the way it was accessed. The site was accessed over an office lan using Novel and a proxie server. What needed to bedone was to change the accesses rights for Netscape. This was done by going to the Netscape preferences file:

C:\Program Files\Users\\prefs.js

and adding the following line:

user_pref ("security.lower_java_network_
security_by_trusting_proxies", true);

(all one line)

This let the applet run in Netscape.

This discussion is closed to new replies.