jQuery in Action, 2nd edition
The moose likes IDEs, Version Control and other tools and the fly likes How to build an executable jar with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "How to build an executable jar with Eclipse " Watch "How to build an executable jar with Eclipse " New topic
Author

How to build an executable jar with Eclipse

Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to build an executable jar with Eclipse
 
Similar Threads
is it possible to convert .class to .exe
Eclipse Executable Builder
Stand alone project - working from desktop
Executable jar
Destop application