From owner-freebsd-questions Thu Feb 5 11:07:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08277 for questions-outgoing; Thu, 5 Feb 1998 11:07:10 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sdna2.ucsd.edu (sdna2.ucsd.edu [132.239.145.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08233 for ; Thu, 5 Feb 1998 11:06:59 -0800 (PST) (envelope-from mika@sdna2.ucsd.edu) Received: (from mika@localhost) by sdna2.ucsd.edu (8.8.5/8.8.5) id LAA27887 for freebsd-questions@freebsd.org; Thu, 5 Feb 1998 11:06:58 -0800 (PST) Date: Thu, 5 Feb 1998 11:06:58 -0800 (PST) From: Mika Illouz Message-Id: <199802051906.LAA27887@sdna2.ucsd.edu> To: undisclosed-recipients:; Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" Hi I'm trying to use JDK 1.1.5 on FreeBSD. I've installed the package, which I downloaded last week from ftp://ftp.freebsd.org/pub/incoming. I've installed it at /usr/local/jdk, which is a symbolic link to /usr/local/jdk1.1.5. This directory has the usual subdirectories (bin, demo, include, lib). When I invoke appletviewer, I get. % appletviewer http://real-host /usr/libexec/ld.so: Undefined symbol "__select" called from java:/usr/local/jdk/ bin/../lib/i386/green_threads/libjava.so.1.5 at 0x8075560 .. where "real-host" is a host that exists. When I invoke it on a fake host, I get % appletviewer http://fake-host SIGSEGV 11* segmentation violation Full thread dump: "Finalizer thread" (TID:0x85e0c48, sys_thread_t:0x93e1f00, state:R) prio=1 "Async Garbage Collector" (TID:0x85e0c90, sys_thread_t:0x93c0f00, state:R) p rio=1 "Idle thread" (TID:0x85e0a08, sys_thread_t:0x939ff00, state:R) prio=0 "Clock" (TID:0x85dd088, sys_thread_t:0x937ef00, state:CW) prio=12 "main" (TID:0x85dd0b0, sys_thread_t:0x4b00, state:R) prio=5 *current thread* java.net.InetAddress.getAllByName0(InetAddress.java) java.net.InetAddress.getByName(InetAddress.java) sun.net.www.http.HttpClient.(HttpClient.java:201) sun.net.www.http.HttpClient.(HttpClient.java:219) sun.net.www.http.HttpClient.New(HttpClient.java:230) sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja va:326) sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec tion.java:407) sun.applet.AppletViewer.parse(AppletViewer.java:919) sun.applet.AppletViewer.parse(AppletViewer.java:904) sun.applet.AppletViewer.main(AppletViewer.java:1081) Monitor Cache Dump: sun.net.www.protocol.http.HttpURLConnection@85E4FF0/864C7B8: owner "main" (0 x4b00, 1 entry) java.util.Hashtable@85E5078/864D490: owner "main" (0x4b00, 1 entry) Registered Monitor Dump: Thread queue lock: Name and type hash table lock: String intern lock: JNI pinning lock: JNI global reference lock: BinClass lock: Class loading lock: Java stack lock: Code rewrite lock: Heap lock: Has finalization queue lock: Finalize me queue lock: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: Alarm monitor: Waiting to be notified: "Clock" (0x937ef00) _malloc: Monitor registry: owner "main" (0x4b00, 1 entry) Thread Alarm Q: Abort trap Similar thread dumps follow: % appletviewr ftp://fake-host/fake-file.html % appletviewr file://fake-file.html % java -version java version "jdk1.1-root:1997/12/28-17:07" % uname -a FreeBSD lira.frob.com 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Fri Jan 30 12:00:0 4 PST 1998 root@lira.frob.com:/usr/src/sys/compile/LIRA i386 What to do? Whom should I ask? -- Mika