Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 14:49:17 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        Tom Bartol <bartol@salk.edu>
Cc:        Nate Williams <nate@mt.sri.com>, freebsd-java@FreeBSD.ORG, java-port@FreeBSD.ORG, ritter@orbisys.com
Subject:   Re: JWS2.0/libawt.so trouble
Message-ID:  <199804222049.OAA05643@mt.sri.com>
In-Reply-To: <Pine.BSF.3.96.980422123549.17252D-100000@cole.salk.edu>
References:  <199804221911.NAA05137@mt.sri.com> <Pine.BSF.3.96.980422123549.17252D-100000@cole.salk.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > I've installed JWS 2.0 as per the instructions posted at
> > > www.freebsd.org/java (thanks, Amancio!).  When I try to run jws as
> > > follows:
> > > 
> > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/jws
> > > 
> > > I get this:
> > > 
> > > JAVA_HOME = /usr/local/Java-WorkShop2.0/JDK
> > > LD_LIBRARY_PATH = /usr/lib:/usr/X11R6/lib:/usr/local/lib:
> > > /usr/local/Java-WorkShop2.0/JDK/lib/i386/green_threads:
> > > /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin
> > > /usr/libexec/ld.so: warning: /usr/X11R6/lib/libXext.so.6.1: minor version
> > > 1 older than expected 3, using it anyway
> > > cannot stat "/usr/local/Java-WorkShop2.0/JWS/intel-S2/bin/libawt.so" : No
> > > such file or directory (libawt.so)
> > > java.lang.UnsatisfiedLinkError: no awt in shared library path
> > >         at java.lang.Runtime.loadLibrary(Runtime.java)
> > >         at java.lang.System.loadLibrary(System.java)
> > >         at 
> > >         at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:402)
> > >         at java.awt.SystemColor.updateSystemColors(SystemColor.java:350)
> > >         at 
> > >         at sun.jws.WaitFrame.<init>(WaitFrame.java:16)
> > >         at sun.jws.WaitFrame.showIt(WaitFrame.java:56)
> > >         at sun.jws.Main.main(Main.java:143)
> > 
> > Is your DISPLAY environment set?  If not, it can't find the graphics
> > stuff.  (Don't ask, it's for legal/performance reasons).
> 
> Yes my DISPLAY environment variable is set to :0.0
> I've tried setting it to the fully qualified name of my machine and that
> didn't help either.

Hmm, how is JWS calling 'java'?  It appears to not be calling it with
the DISPLAY environment set. :(


Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804222049.OAA05643>