*BSD News Article 85593


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!sun4nl!beta.nedernet.nl!usenet
From: Gary Howland <gary@systemics.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: JAVA & NETSCAPE BUGS?
Date: Wed, 25 Dec 1996 14:06:52 +0100
Organization: Systemics Ltd.
Lines: 44
Message-ID: <32C126EC.41C67EA6@systemics.com>
References: <32BC1868.167EB0E7@polly.phys.msu.su> <59h7nq$8ha@newsfeed.cs.auc.dk> <32BE6A93.41C67EA6@nortel.ca>
NNTP-Posting-Host: aaa.aaa-mainstreet.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.2-961014-SNAP i386)
X-Forwarded: by - (DeleGate/3.0.30)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33107

Andrew Atrens wrote:
> 
> Arne Norre Ekstroem wrote:
> >
> > In article <32BC1868.167EB0E7@polly.phys.msu.su>, Alexei Persianov <pers@polly.phys.msu.su> writes:
> >
> > Netscape will NOT show java if you are using 16bpp in your X-server.
> > Maybe this is the problem?
> > It will work fine if you are using 8bpp.....
> 
> I use 16bpp, netscape 3.01 and run java applets, no problem.
> 
> The only troubles I've had are with the FreeBSD-native port of the
> 1.02 JDK. the java 'appletviewer' can't seem to handle 16bpp.
> My guess is that the 1.02 JDK doesn't support 16bit color for the
> appletviewer.

This is also true of running Sun-Java apps on a sparc machine, but using
FreeBSD as an "X terminal" in 16bpp mode.  The really irritating thing
is that windoze machines in 16 bit colour mode can happily run the
remote java apps, because the windoze X software emulates a 24bpp
server, even though the display is really only 16 bit.

I tried to use xnest to emulate an 8bpp display in my 16bpp display,
but, alas, it didn't work.  I now have to do all my Java development
using the Linux JDK (which doesn't suffer this problem), because I like
16bpp mode too much ...


> Actually, the other bit of grief that I ran into w.r.t. the native
> JDK, and Kaffe as well are that both use the CLASSPATH environment
> variable to point to their zipped class libraries. This confuses
> netscape which expects it to point to java_301 ( its own zipped class
> library ).

I find the easiest solution is to give every application that is fussy
about its environment (such as netscape) its own startup script.  A
little less efficient, perhaps, but a lot less headaches.


Gary
--
pub  1024/C001D00D 1996/01/22  Gary Howland <gary@systemics.com>
Key fingerprint =  0C FB 60 61 4D 3B 24 7D  1C 89 1D BE 1F EE 09 06