From nobody@FreeBSD.org  Fri Sep 11 07:40:40 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E056F106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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" <bugReporter@ib-haakh.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138729
>Category:       java
>Synopsis:       java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 11 07:50:00 UTC 2009
>Closed-Date:    Mon Dec 17 02:41:10 UTC 2012
>Last-Modified:  Mon Dec 17 02:41:10 UTC 2012
>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:
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Mon Dec 17 02:41:09 UTC 2012 
State-Changed-Why:  
jdk16 has been deprecated 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138729 
>Unformatted:
