Dear friends: Here are the instructions on how to make your Netscape Java talk, direct from the author of the libmmoss program (http://www.tucows.com -- X11, Network, Web, libmmoss). I just installed the sound, and it works great! The two test sound applets referred to include the bark of a dog and the sound of a train whistle. Jeff's site is at: http://www.alumni.caltech.edu/~dairiki/libmmoss/README.html There are no rpms currently available. When you edit the /usr/bin/netscape file (a very small file that is linked to the REAL 8 meg Netscape file at /usr/lib/netscape), be sure first to make a copy of it. Secondly, to edit it and save it, you may need to exit KDE, reenter as root and use a text editor. Yours, Benjamin 0. The overview: my hacks reside in two files: libmmoss.jar (which contains the Java code), and libmmoss.so (native intel shared library). You need to install and/or find these two files and then tell Netscape where to find them. (I assume that you've got your soundcard working under Linux already.) 1. If you unpack my libmmoss-2.1.tar.gz file, then run 'make install-lib' as root, the two key files will be installed as /usr/local/mozilla/libmmoss/classes/libmmoss.jar /usr/local/mozilla/libmmoss/lib/libmmoss.so. (Alternatively, you can install these two files someplace else by hand, or even just leave them where you unpacked them --- however these instructions assume they are in the above locations.) 2. Now RedHat, I believe, installs a shell-script wrapper for netscape in /usr/bin/netscape. Become root, and with your favorite text editor add the following lines just _after_ the first line of that file (which should be "#!/bin/sh"): # This tells netscape where to find libmmoss.so export LD_LIBRARY_PATH=/usr/local/mozilla/libmmoss/lib # Tell netscape where to find it's own java code classes=/usr/lib/netscape/java/classes export CLASSPATH=$classes # Include all netscapes .jar files in CLASSPATH for jar in $classes/*.jar do CLASSPATH="$jar:$CLASSPATH" done # Now tell netscape where to find libmmoss.jar CLASSPATH="/usr/local/mozilla/libmmoss/classes/libmmoss.jar:$CLASSPATH" (The lines beginning with # are comments.) 3. Now try getting the dog to bark at http://java.sun.com:80/nav/read/Tutorial/applet/ui/sound.html 4. If it doesn't seem to be working, look at Netscape's Java console, and let me know what it says. If you get stuck, let me know where. Best Regards, Jeff Dairiki -- Benjamin and Anna Sher Email:[EMAIL PROTECTED] Sher's Russian Web http://www.websher.net
