M
Mark Space
Hi all, here's a basic question I haven't been able to find the answer to.
Let's say I'm executing a JAR from the command line from a location that
isn't in the CLASSPATH. The JAR implements it's own classLoaders and
wants to use data in the JAR to construct some classes. How does the
classLoader (or I guess any other method) locate the JAR file being
executed so it can load some resources?
OK, same question, but this time my JAR file is contained inside another
JAR file. Now how do I find it?
Let's say I'm executing a JAR from the command line from a location that
isn't in the CLASSPATH. The JAR implements it's own classLoaders and
wants to use data in the JAR to construct some classes. How does the
classLoader (or I guess any other method) locate the JAR file being
executed so it can load some resources?
OK, same question, but this time my JAR file is contained inside another
JAR file. Now how do I find it?