java/138729: setting 'export AWT_TOOLKIT=MToolkit' causes UnsatisfiedLinkError

Dr. Andreas Haakh bugReporter at ib-haakh.de
Fri Sep 11 07:50:01 UTC 2009


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


More information about the freebsd-java mailing list