public inbox for
 help / color / mirror / Atom feed
From: Mark Wielaard <>
To: Yannick <>
Subject: Re: Gnu Classpath on HP webOS : connexion problem between escher and X server / or loadling escher problem by Gnu classpath
Date: Wed, 11 Jan 2012 09:05:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <jeihuv$v8j$>

Hi Yannick,

The classpath list is probably the best to discuss this problem (CCed).

On Wed, 2012-01-11 at 00:30 +0100, Yannick wrote:
> When I launch the JRE and with Xterm started, I have the following error
> message :
> root@Palm Pre:/media/internal# /media/internal/opt/bin/jamvm HelloWorld
> -bootclasspath
> /media/internal/opt/share/jamvm/
> opt/share/classpath/escher-0.3.jar:/media/internal/opt/share/classpath/collections.jar
> HelloWorld HelloWorld
> Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
> at java.awt.Toolkit.getDefaultToolkit(
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
> at java.awt.Window.(
> at java.awt.Frame.(
> at java.awt.Frame.(
> at HelloWorld.(
> at HelloWorld.main(
> Caused by: java.lang.UnsatisfiedLinkError: Native library `gtkpeer' not
> found
> (as file `') in gnu.classpath.boot.library.path and
> java.library.path
> at java.lang.Runtime.loadLibrary(
> at java.lang.System.loadLibrary(
> at
> at java.lang.VMClass.forName(Native Method)
> at java.lang.Class.forName(
> at java.awt.Toolkit.getDefaultToolkit(
> ...6 more
> But here Gnu Classpath is not compiled to use (c/C++ lib
> with Qt
> or GTK) but escher java lib.


        In this release you have to enable the X peers at runtime by
        setting the system property by passing
        `' to the java command
        when running an application.
Running configure
should also work. That should probably be the default when configuring
with --disable-gtk-peer and --with-escher.

Hope that helps,


  parent reply	other threads:[~2012-01-11  9:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-30  4:28 PATCH, boehm-gc: silence warning Ben Elliston
2009-11-30 10:07 ` Andrew Haley
2012-01-10 23:40   ` Gnu Classpath on HP webOS : connexion problem between escher and X server / or loadling escher problem by Gnu classpath Yannick
2012-01-10 23:53     ` Brian Jones
2012-01-11  9:05     ` Mark Wielaard [this message]
2012-01-16 20:44       ` Yannick
2012-01-16 20:45       ` Yannick
2012-01-17 19:13         ` Yannick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).