I have a RMI application which is running on the server. Now i want to add external jar file to an existing deployed jar.
Note: It is not web application.
For example, here i mention the jar directories
MyApplication.jar
- manifest.mf
- .classpath
- classes
- My java class files
- lib
- test.jar
- test1.jar
- images
- META-INF
- MANIFEST.MF
.classpath has
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/test.jar"/>
<classpathentry kind="lib" path="lib/test1.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>
Now i want to add test2.jar to my lib folder inside MyApplication.jar and updating .classpath file.
Is it possible to add it?