[UCLA-LUG] Netscape and java applet

Matt Helsley larva@lillith.mit.edu
Fri, 7 Jul 2000 19:48:56 -0400 (EDT)


On Fri, 7 Jul 2000, MIng Yu wrote:
> I'm trying to run a java applet using Netscape under redhat linux. But
> it cannot display at all. The browser doesn't crush but just cannot
> display in the browser.
> 
> Can you tell me what the problem could be?

I assume you tested the program under Windows and it ran correctly. If
this is the case then it could be that you are using Java 2 code. Netscape
Navigator does not support Java 2 under linux (AFAIK), and thus certain
pieces of legal Java code won't run as an applet under Netscape. This may
or may not be your problem - to find out if it is, you could try running
the same applet under Internet Exploiter^H^H^H^Hrer. If it works under IE
then it is likely that this is indeed the problem.

OR, you could search all of your code AND correlate it with the version
information in the JDK 2 docs.... but I think my solution could be easier.
:)

Good luck.
-------------------------------------------------------------------
"If a tree falls on an Anonymous Coward yelling 'First Post' in the forest, 
 does anybody hear?"
                                                   -- Slashdot comment