[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit



On Thu, 2 Nov 2006 18:59:33 +0100
Matthias Klose <doko@cs.tu-berlin.de> wrote:

> 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.
> 
> > 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.
> 
> 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

I am the OP. I am sure Blackwell was offering the best information and judgement at his disposal at the time. It also bears mentioning that his post had me up and running again within a couple of hours of my request for help, before my broker's tech support had replied to my e-mail to them. This is no small achievement for the Debian community. The broker's tech rep said "thank you".

It also bears mentioning that Interactive Brokers have told me in past conversations that their java app was built with Sun Java in mind, and I am confident if I approached them for serious tech support (as opposed to the minor problems I have reported so far) they would tell me to first install Sun Java and then we would go from there. That would be their prerogative. I am already quite delighted that they are making a serious effort to be multi-platform. One of my machines shall continue to run Sun Java.

However, I do have two other machines sitting around which could also run the broker app, so I would be happy to use one of them to try the most mature and likely-to-succeed free option to Sun's Java..... What would you suggest that might be? What packages do I need to install?

Clayton



Reply to: