• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java project -> jar file  RSS feed

 
Chris Blanchard
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, we're doing a smallish project in Eclipse, and thought it'd be better to compile all the files into a Jar file, is there an easy way of doing this or maybe a website that will guide me through this?

Thanks
 
Chris Blanchard
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've exported it using Eclipse, but when I try and run it using java -jar project.jar it says that it cannot load the Main-Class manifest.

I thought Eclipse was meant to sort the MainClass out automatically?
 
Chris Blanchard
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nvm got it.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!