• Post Reply Bookmark Topic Watch Topic
  • New Topic

not able to make exe with launch4j software  RSS feed

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i want to create an exe of my java application.
I used Launch4j software to make exe and i successfully make the exe with help of that.

But when i click on that exe then it gives the error :

Failed to load Main-Class manifest attribute from e:\myApp.exe .

Please tell me that what to do to get rid out of this.

Thanks
Regards
Gaurav
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16048
88
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to make your JAR an executable JAR, not just a plain JAR, which contains a manifest file with a Main-Class attribute.
[ May 23, 2006: Message edited by: Jesper Young ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!