Ciao ragazzi,
ho terminato un programma (anche grazie al vs aiuto) e compilando su eclipse funziona perfettamente. Ho fatto l'esportazione in file jar ma mi dà il seguente errore:
perchè compare quest'eccezione mentre in Eclipse no?codice:Microsoft Windows XP [Versione 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\sugar\Desktop\Varie>java -jar db.jar Exception in thread "main" java.lang.RuntimeException: JOptionPane: type must be one of JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE, JOptionPane. WARNING_MESSAGE, JOptionPane.QUESTION_MESSAGE or JOptionPane.PLAIN_MESSAGE at javax.swing.JOptionPane.setMessageType(Unknown Source) at javax.swing.JOptionPane.<init>(Unknown Source) at javax.swing.JOptionPane.showOptionDialog(Unknown Source) at javax.swing.JOptionPane.showMessageDialog(Unknown Source) at javax.swing.JOptionPane.showMessageDialog(Unknown Source) at Gestione_DB.estraiConfig(Gestione_DB.java:505) at Gestione_DB.finestraLogin(Gestione_DB.java:423) at Gestione_DB.main(Gestione_DB.java:572)
grazie in anticipo. Ciao![]()

Rispondi quotando

