Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to include external library jar files while exporting project into an excutable jar?
How to include external library jar files while exporting project into an excutable jar? [message #150236] Tue, 28 October 2003 10:47 Go to next message
Eclipse UserFriend
Originally posted by: ie_qjzhu.yahoo.ie

Hello,
I have a project, this project uses some third party libraries(jar
files),
now I want to export my project into a single excutable jar file and the
file should include the third party libraries, I want they are packed
into a single
jar file so the user can only download my jar file and run it without
downloading
the third party libraries. How to do it in Eclipse 3.0M4? I tried the
export wizard,
but I seems that eclipse can only export my code into a jar file but
exclude the
third party libraries with I've included in the project. Thanks
Re: How to include external library jar files while exporting project into an excutable jar? [message #150790 is a reply to message #150236] Wed, 29 October 2003 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

It's not just Eclipse. Standard jvm can't read jars that are within a
jar. So you can't package the jar within a jar.

The second problem is do you have the authorization to ship the third
party jar. Many licenses don't allow this. Make sure you are legally
allowed to ship the other jars.

The only way is for you to import the jar contents into your project and
then they can be jar'd together with your code. But again, even if you
have legal authority to ship the third party jar, do you have the
extended authority to unzip the jar and include the contents in yours.
That may not be allowed by the license.


--
Thanks, Rich Kulp

Previous Topic:IFile for objectClass causes CompilationUnitException
Next Topic:Programatic control of view location?
Goto Forum:
  


Current Time: Sat Jul 12 20:32:55 EDT 2025

Powered by FUDForum. Page generated in 0.04294 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top