Problems with Netscape and Java

I'm running Netscape Communicator 4.7 on RedHat Linux 6.0.  If I don't set my CLASSPATH to anything, when I go to a page that contains a java applet Netscape gets a Bus error.  If I set my CLASSPATH to point at Netscape's java40.jar file, the pages load ok but the applets don't run.  I've apparantly missed something about setting up Netscape but I can't figure out what.  Any ideas what I need to do here?

Thanks,
Rich
rellehAsked:
Who is Participating?
 
psimationConnect With a Mentor Commented:
Netscape and Java does have a problem, but it lies with your fonts. 6.0 doesn't add 75dpi fonts to your system by default, 6.1 does.
To fix this, from a terminal window, type this,
chkfontpath --list
then chkfontpath --add (whole directory as shown in --list option)/75dpi
ie. if --list showed something like
/usr/X11R6/lib/X11/fonts/100dpi
/usr/X11R6/lib/X11/fonts/75dpi: unscaled...
....

then you should type
chkfontpath --add /usr/X11R6/lib/X11/fonts/75dpi
this should solve your problem
0
 
jlevieCommented:
I think the generic instructions for Netscape w/respect to Java is to have the install directory in your path, and to have MOZILLA_HOME pointing to the Netscape dir. The release notes state that you should only set a CLASSPATH if you're using local .class files. There are also some cautions about libc problems that you might want to take alook at.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.