From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,13ae9c7b7e6dc09 X-Google-Attributes: gidfee84,public From: ccam@spiral2.its.latrobe.edu.au (Andrew Moar) Subject: Re: Netscape 3.0 won't do Java applets under DUX 4.0x (DUX 3.2c works fine) Date: 1997/02/13 Message-ID: <5du3e3$8of$2@news.latrobe.edu.au>#1/1 X-Deja-AN: 218428237 References: <32FA97D3.41C6@altatech.com> To: Christian Worley Content-Type: text/plain; charset=us-ascii Organization: La Trobe University Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 In article <32FA97D3.41C6@altatech.com>, Christian Worley writes: > Hi, > > I'm using Netscape 3.0 under DUX 4.0[a or b]. When I callup an .html > that references a java applet (.class file), it spends a long time > spinning it's wheels, leaves plenty of space for the applet to run in, > but displays nothing. Any applet will do; a local file or across the > internet. [ -snip- ] Ahhh...the old Java wont work under Dunix 4.0 trick... here's a solution that was posted a while back... ----------------------------------------------------------------------- If you have access to a Digital UNIX 3.2D system, there is a workaround. Article found that mentions the problem: ======================================================================= We've discovered that the Java problem is the result of Navigator's reliance on some internal implementation details of the X Toolkit library (libXt) that changed between X11R5 and X11R6. X11R5, which is included with Digital Unix v3.2C, provided a libXt that utilizes the C-RTL routine select() for handling IO between the client and the X server. Navigator depends upon being able to intercept this call so that it can switch between the various threads it maintains. With X11R6, which is included with Digital Unix v4.0, vendors can optionally compile libXt to use the C-RTL call poll() instead of select() for client/server IO. The default for Digital Unix and all other operating systems that support the poll() call is to build libXt with this option turned on, since using poll() instead of select() can enhance performance significantly. Unfortunately, Netscape has not yet modified Navigator to work properly with a libXt that uses poll() instead of select(), with the result that secondary threads (like those used to run Java applets and the Java console) never execute. We are currently working with Netscape to get them to fix this bug, which will affect most other Unix vendors as well when they move to X11R6 and ship a libXt built in the recommended way. Meanwhile, the workaround mentioned can be used. ====================================================================== Solution -------- 1) As root, create directories /usr/3.2D and then /usr/3.2D/shlib 2) Copy Digital 3.2D UNIX files /usr/shlib/libX11.so /usr/shlib/libXext.so /usr/shlib/libXm.so /usr/shlib/libXmu.so /usr/shlib/libXt.so into /usr/3.2D/shlib DO NOT replace the 4.0 libraries with these! Change group and ownership to bin ie. chown bin:bin *.* 3) Exit as root and set the environmental variable LD_LIBRARY_PATH to point to these new shared libraries ie. LD_LIBRARY_PATH=/usr/3.2D/shlib Netscape can now load secondary threads to run java applets etc. -------------------------------------------------------------------- You have got a 3.2D system haven't you ?!? If not, I can send you the relevant files. -- Andrew Moar : Ph +61 3 9479 1505 email A.Moar@latrobe.edu.au Systems Programmer, Information Technology Services La Trobe University, Melbourne