From owner-freebsd-java@FreeBSD.ORG Fri Sep 11 07:50:01 2009 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9741065692 for ; Fri, 11 Sep 2009 07:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9F08FC18 for ; Fri, 11 Sep 2009 07:50:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8B7o1jo081156 for ; Fri, 11 Sep 2009 07:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8B7o17E081155; Fri, 11 Sep 2009 07:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 11 Sep 2009 07:50:01 GMT Resent-Message-Id: <200909110750.n8B7o17E081155@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Dr. Andreas Haakh" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E056F106566B for ; Fri, 11 Sep 2009 07:40:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CE5878FC13 for ; Fri, 11 Sep 2009 07:40:40 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8B7ee7T086405 for ; Fri, 11 Sep 2009 07:40:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8B7eewh086392; Fri, 11 Sep 2009 07:40:40 GMT (envelope-from nobody) Message-Id: <200909110740.n8B7eewh086392@www.freebsd.org> Date: Fri, 11 Sep 2009 07:40:40 GMT From: "Dr. Andreas Haakh" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: java/138729: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 07:50:01 -0000 >Number: 138729 >Category: java >Synopsis: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 11 07:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dr. Andreas Haakh >Release: 7.2-STABLE >Organization: >Environment: FreeBSD Crabberio.Haakh.de 7.2-STABLE FreeBSD 7.2-STABLE #34: Wed Sep 9 14:28:42 CEST 2009 root@Crabberio.Haakh.de:/usr/obj/usr/src/sys/CRABBERIO amd64 >Description: The shell-script used to start blueMarine contains export AWT_TOOLKIT=MToolkit which causes java.lang.UnsatisfiedLinkError: Can't load library: /usr/local/jdk1.6.0/jre/lib/amd64/motif21/libmawt.so >How-To-Repeat: set AWT_TOOLKIT=MToolkit >Fix: workaround: comment (don't set) the enviroment-variable AWT-TOOLKIT Fix function AWT_OnLoad in .../jdk16/work/j2se/src/solaris/native/sun/awt/awt_LoadLibrary.c >Release-Note: >Audit-Trail: >Unformatted: