#1 Le 03/10/2006, à 16:22
- zep38
Problème avec java et installation d'applications
Bonjour à tous,
Depuis peu sur Ubuntu tout va bien ... sauf :
Les applications Java.
J'ai donc bien suivi la procédure d'installation pour installer java, j'ai donc la jdk 1.5 sun sur mon ordi, les path sont indiqués.
Par contre j'ai une erreur quand je lance des .jar du type :
Exception during event dispatch:
java.lang.ClassCastException: gnu.java.awt.peer.gtk.GdkGraphics cannot be cast to java.awt.Graphics2D
at com.izforge.izpack.installer.InstallerFrame$BackgroundPanel.paintComponent(InstallerFrame.java:289)
at javax.swing.JComponent.paint(libgcj.so.7)
at javax.swing.JComponent.paintChildren(libgcj.so.7)
at javax.swing.JComponent.paint(libgcj.so.7)
at javax.swing.JComponent.paintChildren(libgcj.so.7)
at javax.swing.JComponent.paint(libgcj.so.7)
at javax.swing.JLayeredPane.paint(libgcj.so.7)
at javax.swing.JComponent.paintChildren(libgcj.so.7)
at javax.swing.JComponent.paint(libgcj.so.7)
at javax.swing.JComponent.paintDoubleBuffered(libgcj.so.7)
at javax.swing.JComponent.paint(libgcj.so.7)
at java.awt.Container$GfxPaintVisitor.visit(libgcj.so.7)
at java.awt.Container.visitChild(libgcj.so.7)
at java.awt.Container.visitChildren(libgcj.so.7)
at java.awt.Container.paint(libgcj.so.7)
at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent(lib-gnu-java-awt-peer-gtk.so.7)
at java.awt.Component.dispatchEventImpl(libgcj.so.7)
at java.awt.Container.dispatchEventImpl(libgcj.so.7)
at java.awt.Window.dispatchEventImpl(libgcj.so.7)
at java.awt.Component.dispatchEvent(libgcj.so.7)
at java.awt.EventQueue.dispatchEvent(libgcj.so.7)
at java.awt.EventDispatchThread.run(libgcj.so.7)
C'est pour l'installation d'application du genre EclipseUML : le plugin d'Omondo free pour Eclipqse, ou la même chose pour HattrickOrganizer (un logiciel pour un jeu de foot en ligne )
Donc je suis un peu bloqué ... si vous aviez une idée, merci
Hors ligne
#2 Le 14/10/2006, à 21:47
- Nolasque
Re : Problème avec java et installation d'applications
Moi aussi j'ai le même problème
Avez-vous une piste intéressante à suivre pour le résoudre ?
Merci
No
Héron Héron petit pas tapon
Rien ne pose tant d'obligations à l'individu que la liberté [Vjekoslav Kaleb]
Hors ligne
#3 Le 14/10/2006, à 21:53
- lokwald
Re : Problème avec java et installation d'applications
vous êtes bien sur que l'environnement est java 1.5, d'avoir bien enlever les paquets gcj de java ? Vérifiez
java -version
Dernière modification par lokwald (Le 14/10/2006, à 21:55)
C'est l'incoryable Hulk qui se balade dans la rue :
Un gars l'interpelle : " Monsieur vous avez déchiré votre chemise !".
Et là, Hulk repond : " 'tain ch'uis vert !! ".
Hors ligne