,
je suis aller faire un tour sur les topics apropos de jar mais je vois pas ou le probleme dans le jar.
j ai ce projet
Code :
- package test
- RunDemo.class
- package test.GUI
- MainGUI.class
- InfoGUI.class
- ect...
|
dans mon jar il y a le dossier avec le nom du projet
META-INF
MANIFEST.MF
Code :
- Manifest-Version: 1.0
|
.classpath
Code :
- <?xml version="1.0" encoding="UTF-8"?>
- <classpath>
- <classpathentry kind="src" path=""/>
- <classpathentry kind="con"
- path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path=""/>
- </classpath>
|
.nbattrs
Code :
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE attributes PUBLIC "-//NetBeans//DTD DefaultAttributes
- 1.0//EN" "http://www.netbeans.org/dtds/attributes-1_0.dtd">
- <attributes version="1.0">
- <fileobject name="Person.java">
- <attr name="EA-OpenIDE-Connection" un gros truc encode
- </fileobject>
- </attributes>
|
.project
Code :
- <?xml version="1.0" encoding="UTF-8"?>
- <projectDescription>
- <name>BlackRedWhite_Game</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
- </projectDescription>
|
message d erreru lors du lancement du test.jar
Code :
- D:\>java -jar test.jar
- Failed to load Main-Class manifest attribute from
- test.jar
|
une idee ?