Your message dated Thu, 13 Aug 2009 00:06:28 +0200
with message-id <1250114788.14081.20.ca...@localhost>
and subject line Re: [DebianGIS-dev] Bug#541137: Can't load library:
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/motif21/libmawt.so
has caused the Debian Bug report #541137,
regarding Can't load library:
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/motif21/libmawt.so
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
541137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541137
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: josm
Version: 0.0.svn1529-1
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to start josm, and I get:
$ josm
Using /usr/lib/jvm/java-6-openjdk/bin/java to execute josm.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library:
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/motif21/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1666)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1684)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at java.awt.Component.<clinit>(Component.java:568)
at org.openstreetmap.josm.Main.<clinit>(Main.java:233)
Could not find the main class: JOSM. Program will exit.
There are libmawt.so files around, but not in a path containing motif:
$ dpkg -S libmawt.so
openjdk-6-jre: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/xawt/libmawt.so
openjdk-6-jre-headless:
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/headless/libmawt.so
According to
http://packages.debian.org/search?mode=path&suite=sid§ion=all&arch=any&searchon=contents&keywords=libmawt.so
only the sun-java?-bin packages provide a motif21/libmawt.do.
Greetings,
Joachim
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages josm depends on:
ii libgettext-commons-ja 0.9-1 Java classes for internationalizat
ii libmetadata-extractor 2.3.1+dfsg-1 JPEG metadata extraction framework
ii openjdk-6-jre 6b16-4 OpenJDK Java runtime, using Hotspo
ii openstreetmap-map-ico 1:0.0.0.20080713-1 Collection of map icons
Versions of packages josm recommends:
ii josm-plugins 0.0.0.20080413-2 Plugins for JOSM
josm suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqB5H8ACgkQ9ijrk0dDIGyD4wCgiD9W9MTROJLDLbz8m9ZzPl+7
y30Anj7WHBuPGLpjPFayt5YjL/cMUnCM
=2cOd
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Hi,
Am Mittwoch, den 12.08.2009, 17:44 +0200 schrieb Giovanni Mascellani:
> I think this is an OpenJDK fault on amd64. Are you able to use other
> Java applications with OpenJDK?
sorry for the noise, the Problem was not josm related. For reference:
I had AWT_TOOLKIT=MToolkit set to avoid problems with java and xmonad.
It seems that this setting is no longer supported with openjdk-6.
Unsetting this variable avoids the error above, but makes the other java
vs. xmonad problems re-appear. These are fixed more properly using
XMonad.Hooks.SetWMName to set the window manager name to "LG3D", see
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-SetWMName.html
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
[email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--- End Message ---