Re: java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
Blackwell writes:
> David Herron wrote:
> >
> > An off the top of my head guess would be - do you have GNOME installed?
> >
> > Reasoning ... GtkToolkit refers to GNOME and would be using the GNOME
> > widgets as peers in the same manner the Motif widgets were formerly used.
please install the libgcj7-awt package; I'll let libgcj7-0 recommend
that package with the next upload.
> >> s$ java -cp
> >> jts.jar:pluginsupport.jar:jcommon-1.0.0.jar:jfreechart-1.0.0.jar:jhall.jar:other.jar:rss.jar
> >> -Xmx256M jclient.LoginFrame .
strange, jfreechart-1.0.2 is in the archive, isn't it?
> Here is the simple and pragmatic solution if you do not have issues
> with using "non free" software:
>
> Whenever you get error messages with that substring in them, install
> Sun Java, remove GCJ if you can, and ensure that your Linux
> installation (other operating systems do not exhibit this problem as
> far as I know) is configured to use Sun Java for any Java
> application (each Linux distribution may have a different approach
> to configuring which "Java" implementation to use).
that kind of attitude will lead to a depopulation of java packages in
main and java support just for two architectures. If that's your goal,
please go on.
It seems that even debian-edu is in favour of this approach putting
non-free components on their CDs.
We do have a free runtime and compiler supporting the java2 platform
to a good amount, but apparently not yet 100%, so we will always have
a conflict between support for a free runtime and support for a subset
of architectures with a "standard" runtime (which we are unable to
validate anyway).
Matthias
Reply to: