Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JAR project

Reply
Thread Tools

JAR project

 
 
bob smith
Guest
Posts: n/a
 
      09-20-2012
What is the easiest way to create a project that creates a JAR file as output?

I'd prefer to use Eclipse if possible.
 
Reply With Quote
 
 
 
 
markspace
Guest
Posts: n/a
 
      09-20-2012
On 9/20/2012 10:35 AM, bob smith wrote:
> What is the easiest way to create a project that creates a JAR file as output?
>
> I'd prefer to use Eclipse if possible.
>



One Google search for "Eclipse tutorial" later:

<http://www.vogella.com/articles/Eclipse/article.html>

Scroll down to "create jar."


 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      09-21-2012
On Thu, 20 Sep 2012 10:35:18 -0700 (PDT), bob smith
<> wrote, quoted or indirectly quoted someone
who said :

>What is the easiest way to create a project that creates a JAR file as output?

Use ant.

See http://mindprod.com/jgloss/ant.html

or use jar.exe or genjar.exe

see http://mindprod.com/jgloss/jarexe.html
--
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex.


 
Reply With Quote
 
Arne Vajhøj
Guest
Posts: n/a
 
      09-21-2012
On 9/20/2012 1:35 PM, bob smith wrote:
> What is the easiest way to create a project that creates a JAR file as output?
>
> I'd prefer to use Eclipse if possible.


I always use ant for generating final artifacts.

But if I remember correctly then in Eclipse you do not create
a "jar output project" - you create a normal project and then
use the export capability to create the jar file.

Arne


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java -cp a.jar -jar b.jar => Works on Windows, not on Debian cyberco Java 4 02-14-2006 06:27 AM
jaas.jar, jta.jar jdbc-stdext.jar missing from jdk1.5 RPM muttley Java 0 10-20-2005 02:40 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters Java 0 01-05-2005 10:59 PM
Differences of xercesImpl.jar, xercesImpl-J.jar, dom3-xercesImpl.jar ? Arnold Peters XML 0 01-05-2005 10:59 PM
Jar file cannot find main class - gfSetup.jar (0/1) James Alan Farrell Java 6 01-09-2004 12:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57