Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

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
0
relleh
Asked:
relleh
1 Solution
 
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
 
psimationCommented:
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

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now