[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Missing AWT peer
From: |
Brian Jones |
Subject: |
Re: Missing AWT peer |
Date: |
15 Oct 2001 06:34:44 -0400 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Andreas Rueckert <address@hidden> writes:
> > I don't see a System.loadLibrary in that class. This is a "maybe"
> > problem in a number of the gtk classes. Obviously something is going
> > to load it and the rest don't really need to do so but maybe putting
> > this in all the relevant classes is just safer?
>
> Sorry, I'm not really into Classpath, so I'm a bit slow here. You think, that
>
> static native void gtkInit();
> native void gtkMain();
>
> in gnu/java/awt/peer/gtk/GtkMainThread.java are the problem. These
> methods are part of the Gtk library?
No, there is a library that should be created during compilation
called libgtkpeer.so. There is no System.loadLibrary("gtkpeer") in
that class. Your error could also be because LD_LIBRARY_PATH
(Solaris/Linux) did not point to a directory with libgtkpeer.so in it.
> BTW: At this time, there's no configure switch to compile Classpath
> for ORP, so you have to use the japhar or jdk includes for jni? Will
> you add a with-orp switch at some point or is there a good reason
> not to do so?
Going to try to take out the VM switches completely.
--
Brian Jones <address@hidden>
- Missing AWT peer, Andreas Rueckert, 2001/10/14
- Re: Missing AWT peer, Brian Jones, 2001/10/14
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/15
- Re: Missing AWT peer,
Brian Jones <=
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/15
- Re: Missing AWT peer, Jeff Sturm, 2001/10/15
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/15
- Re: Missing AWT peer, Jeff Sturm, 2001/10/15
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/16
- Re: Missing AWT peer, Bryce McKinlay, 2001/10/16
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/17
- Re: Missing AWT peer, Bryce McKinlay, 2001/10/19
- Re: Missing AWT peer, Andreas Rueckert, 2001/10/15