From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,871002cbdd94857b,start X-Google-Attributes: gidfee84,public From: Tony East Subject: Re: Netscape3.0 + DU4.0 = Java... Date: 1996/09/02 Message-ID: <50etjj$s2q@orac.dmu.ac.uk>#1/1 X-Deja-AN: 177993640 organization: De Montfort University Central News Server newsgroups: comp.unix.osf.osf1 Thomas Leitner wrote: > Hi, > After upgrading to DU 4.0, I found that Java applets do not run anymore? > Any hints anyone? > Thanks -- Tom 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. ==============================================================================i 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. _______________________________________________________________ | | | | Tony East - Systems Engineer | Tel No: 0116 2551 551 Ex 8475 | | DeMonfort University, | E-mail te@dmu.ac.uk | | The Gateway, Leicester. | Web http://dmu.cms.ac.uk/~te | |______________________________|________________________________|