From owner-freebsd-java Wed Apr 22 12:05:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19523 for freebsd-java-outgoing; Wed, 22 Apr 1998 12:05:18 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from helmholtz.salk.edu (helmholtz.salk.edu [198.202.70.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19475; Wed, 22 Apr 1998 19:05:02 GMT (envelope-from bartol@salk.edu) Received: from cole.salk.edu (cole [198.202.70.113]) by helmholtz.salk.edu (8.7.5/8.7.3) with SMTP id MAA13834; Wed, 22 Apr 1998 12:05:01 -0700 (PDT) Date: Wed, 22 Apr 1998 12:04:52 -0700 (PDT) From: Tom Bartol To: freebsd-java@FreeBSD.ORG cc: java-port@FreeBSD.ORG, ritter@orbisys.com Subject: JWS2.0/libawt.so trouble Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've searched the mail archives for an answer to the problem described below. I found a similar problem recently posted there by jake@checker.org (April 7, 1998) but none of the proposed solutions worked for me and I did not see a follow-up by Jake as to whether it worked for him so here I go with the problem: 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.(WaitFrame.java:16) at sun.jws.WaitFrame.showIt(WaitFrame.java:56) at sun.jws.Main.main(Main.java:143) I am running -current SMP as of April 9, I'm using the XiG v4.1 XServer, and jdk1.1.5. /usr/local/Java-WorkShop2.0/JDK is a symlink to /usr/local/jdk1.1.5 and I can run the demo java apps as well as apps I have written just fine. If I make symlinks to /usr/local/jdk1.1.5/lib/i386/green_threads/lib* in /usr/local/Java-WorkShop2.0/JWS/intel-S2/bin then a java process appears in the process table consuming 100% CPU in state RUN but a window never appears. Does anyone have suggestions as to how to fix this? Thanks for your help, Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message