Ben merci de vous pencher sur ce problème, en ce qui concerne la première méthode je n’arrive pas à la faire fonctionner malheureusement.
[code]./toto.sh.java
./toto.sh.java: line 2: bad substitution: no closing "" in
S
ab
P
c
de
P
fgi
jk
l
fop
&P
qr
)s
qt
,s
u
Lcompte/Main;main([Ljava/lang/String;)Vargs[Ljava/lang/String;stAffLjava/lang/String;fLjavax/swing/JFrame;
cLjava/awt/Container;m1Ljavax/swing/JMenu;mi1Ljavax/swing/JMenuItem;
menLjavax/swing/JMenuBar;b1Ljavax/swing/JButton;b2l1Ljavax/swing/JLabel;
SourceFile Main.java
23java/lang/StringQuel bouton quitte l’appli
2yjavax/swing/JFrame
La fenêtre
z{
compte/Main$1 |{
InnerClasses
}~
javax/swing/JMenuFichierjavax/swing/JMenuItemQuit
javax/swing/JMenuBar
java/awt/BorderLayout
javax/swing/JButtonbouton1bouton2javax/swing/JLabelNorth
compte/Main$2 WestEast
compte/Main$3
compte/Main$42
3
compte/Mainjava/lang/Object(Ljava/lang/String;)VsetSize(II)V
setLocationaddWindowListener"(Ljava/awt/event/WindowListener;)VgetContentPane()Ljava/awt/Container;
add0(Ljavax/swing/JMenuItem;)Ljavax/swing/JMenuItem;((Ljavax/swing/JMenu;)Ljavax/swing/JMenu;
setJMenuBar(Ljavax/swing/JMenuBar;)Vjava/awt/Container setLayoutjava/awt/LayoutManager;)V)(Ljava/awt/Component;Ljava/lang/Object;)
VaddActionListener"(Ljava/awt/event/ActionListener;)V+(Ljavax/swing/JLabel;Ljavax/swing/JFrame;)Vpack
setVisible(Z)V!01234/·±56
78 9:4Å
á»Y·L»Y·M,d,dd¶ ,»
Y·
¶
N»Y·:»Y·:¶W»Y·:¶W,¶-»Y·¶Y·:»Y·» Y+·!: - "¶#-$¶#%¶#»&Y·’¶(»)Y ,·¶»,Y ,·-¶+,¶.,¶/±5f
%0#5$@%K&S’(d)j*u+,-./¥01¹8È>×DÛEàF6f
á;<
×=>Í?@5¬AB@¡CDKEF\GHaIJVKLLM NOZ" PK
íM4 íAMETA-INF/PK
ìM4Lç¿¿€’META-INF/MANIFEST.MFPK
FM4íAcompte/PK
ìM4g8žNN€=compte/Main$1.classPK
ìM4›œhh€Œcompte/Main$2.classPK
ìM4)Ì__€Ucompte/Main$3.classPK
ìM4þ@îòbb€å compte/Main$4.classPK
compte/Main.classñFEOF
[/code]J’ai essayer d’autres caractere comme le # pour remplacer la substitution mais ca ne marche pas non plus malheureusement.
En ce qui concerne la méthode de rendre executable les .jar, merci à toi le.silmarillion mais je souhaite pouvoir les changer de pc sans etre obligers de reconfigurer toutes les machines sur lesquels mon programme sera mis et je n’ai malheureusement pas encore trouver la solution.