feda alshahwan wrote:Can we run a jar file from a jar file?
Not directly. The Java classloader structure doesn't look inside embedded jars.
You can write a custom classloader that can be used to resolve the classes and class resources in an embedded jar, however. That's what programs such as the Tomcat webserver do, where a WAR (jar) contains jars in the WAR's WEB-INF/lib directory.
Sometimes the only way things ever got fixed is because people became uncomfortable.