This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build an executable jar with Eclipse

 
Vijay Vaddem
Ranch Hand
Posts: 243
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic