File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build an executable jar with Eclipse

 
Vijay Vaddem
Ranch Hand
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm trying to create a executable jar file for the application i developed
with eclipse.

I exported it as a jar file. But it isn;t working.
am i missing something or is there any other way of doin it?

Vijay
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "Export... JAR" thing in Eclipse does not create an executable JAR file -- it's just for packaging your project directory into a single, compressed file.

In order to create an executable JAR file, I'd recommend taking a look at Ant and its <jar> task. And then there's Google, of course.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic