Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 07:40:40 GMT
From:      "Dr. Andreas Haakh" <bugReporter@ib-haakh.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/138729: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError
Message-ID:  <200909110740.n8B7eewh086392@www.freebsd.org>
Resent-Message-ID: <200909110750.n8B7o17E081155@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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