Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Storing a library in a .jar with eclipse

Thread view: 
Martin Gerner - 25 Apr 2006 23:18 GMT
Hi,

This is more a question regarding Eclipse than Java, but since I couldn't
find any group for eclipse and a google search didn't give me anything,
here goes..

(I should also note that I am very new to eclipse - I have earlier used
netbeans, and it is very different..)

I have a .jar file containing a bunch of .class files for connecting to a
mysql database.
I have made a java program that uses these classes and does some stuff.

I would like to create a .jar file which contains my program and the mysql
class files, so that somebody wanting to use the program would only need
that one jar file. And I would like to do this in some automatical way,
without editing the .jar file manually (with winrar) afterwards.

Should I add the mysql .jar to my project as an 'external archive', or as a
'library'? Or extraxt it and put it in my source folder? output folder?

It feels like I've tried every possibility I've found, and none seem to
work.

I would greatly appreciate any help in this matter.

Signature

Martin Gerner

Thomas Weidenfeller - 26 Apr 2006 07:35 GMT
> This is more a question regarding Eclipse than Java, but since I couldn't
> find any group for eclipse and a google search didn't give me anything,
> here goes..

www.eclipse.org as a google search very likely has brought up.

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Martin Gerner - 26 Apr 2006 12:03 GMT
>> This is more a question regarding Eclipse than Java, but since I
>> couldn't find any group for eclipse and a google search didn't give
[quoted text clipped - 3 lines]
>
> /Thomas

The eclipse.org documentation doesn't help, unfortunately.

Signature

Martin Gerner

Oliver Wong - 01 May 2006 18:33 GMT
>>> This is more a question regarding Eclipse than Java, but since I
>>> couldn't find any group for eclipse and a google search didn't give
[quoted text clipped - 3 lines]
>
> The eclipse.org documentation doesn't help, unfortunately.

   I don't know the answer to your JAR question, but Eclipse has their own
newsgroup server. You can get a free account at
http://www.eclipse.org/newsgroups/

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.