I would like to make jar executable with eclipse. Therefore, in my project, I created the src / META-INF / MANIFEST.MF file:
Manifest-Version: 1.0
Main-Class: MainClass
Class-Path:.
But when I export the java eclipse eclipse project, provide me with the following message:
"The export of the JAR has completed with warnings. For details, see the details. Myproject / src / META-INF / MANIFEST.MF has been replaced by the generated MANIFEST.MF and is no longer in the JAR.
Does anyone know how I can avoid this when I export a project to eclipse?
freedev
source share