Posted by byhisdeeds
on November 14, 2007 at 4:57 AM PST
I have a java webstart launched application where I install plugin classes by searching the classpath for all classes that are extensions of my plugin class. Everything works if the jnlp has a file:/// .... codebase and the call to getResource(some.class.name.class) returns file:///path/to/jar!path/to/class. However, when the codebase is http://... I can't locate the classes, as my call the getResource(some.class.name.class) returns jar:http://url.com/path/to/jar!path/to/class.
My question is how can I access the ondisk classpath to my downloaded aplication jar so I can search it for my plugin classes.