URL: https://linuxfr.org/forums/programmation-java/posts/swing-sous-debian Title: swing sous Debian Authors: neologix Date: 2006年04月23日T17:10:50+02:00 Tags: debian Score: 0 Salut à tous. Je poste (premier message sur DLFP) pour vous demander de l'aide. Je dois coder en Java une interface graphique (entre autre) avec swing. J'ai donc commencé par un truc du genre: JFrame fen = new JFrame(); fen.setSize (200, 300); fen.setTitle ("Capture d'un agent hostile"); fen.setVisible (true); La compilation (en bytecode) se passe bien, mais à l'exécution, je me prends:
** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0) aborting... Abandon
J'utilise GCJ/GIJ, sous Debian (Etch).
gcj (GCC) 4.0.3 20051204 (prerelease) (Debian 4.0.2-5j2) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
java version "1.4.2" gij (GNU libgcj) version 4.0.3 20051204 (prerelease) (Debian 4.0.2-5j2) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
J'ai essayé avec kaffe, mais j'ai le même problème. J'ai fait quelques recherches, il y a déjà un rapport de bug Debian, mais je n'ai pas vu de solution. Si quelqu'un pouvait m'aider... merci d'avance

AltStyle によって変換されたページ (->オリジナル) /