Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How do I export the project with a jar inside?.
How do I export the project with a jar inside?. [message #762095] Wed, 07 December 2011 14:39 Go to next message
Jhonne Mising name is currently offline Jhonne Mising name
Messages: 6
Registered: December 2011
Location: Armenia, Quindio, Colombi...
Junior Member

for an application Standalone. I have a jar file that has a class to save files. When I use the jar in my project and exported as .Jar does not work.
How do I export the project as .jar with other .jar inside?.
in which folder I put the jar??
  • Attachment: pregunta.bmp
    (Size: 1.09MB, Downloaded 86 times)
Re: How do I export the project with a jar inside?. [message #762683 is a reply to message #762095] Thu, 08 December 2011 14:03 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
You have to write your own class loader to include a jar in a jar. However, you could tell your jar to depend on another jar . Look at http://docs.oracle.com/javase/tutorial/deployment/jar/downman.html
Re: How do I export the project with a jar inside?. [message #762854 is a reply to message #762683] Thu, 08 December 2011 17:58 Go to previous message
Jhonne Mising name is currently offline Jhonne Mising name
Messages: 6
Registered: December 2011
Location: Armenia, Quindio, Colombi...
Junior Member

GRACIAS..
thank... worked add the .jar name in manifest file in:
Class-path file.jar .


Previous Topic:Indigo Problems View is Empty
Next Topic:Attaching marker (error decorator) to resource fires IResourceDelta.CHANGED event
Goto Forum:
  


Current Time: Tue Sep 02 21:14:47 GMT 2014

Powered by FUDForum. Page generated in 0.05059 seconds