-
1. Re: Understanding CLASSPATH
starksm64 Mar 3, 2006 1:13 PM (in response to vk101)Don't use any form of CLASSPATH setting.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview -
2. Re: Understanding CLASSPATH
vk101 Mar 3, 2006 1:42 PM (in response to vk101)That raised more questions than it answered...I've got a lot to learn... (By the way, I'm asking these questions because I'd like to learn, not because I can't get something specific to work.)
In addition to my classpath questions above, your link pointed out that an archive's MANIFEST.MF file can have a classpath setting. How do the JBOSS_CLASSPATH, the MANIFEST.MF classpath, and the archive's /classes and /lib directories which are automatically added to the classpath, all work together?
And how are conflicts resolved (where a class with the same package and name is specified in multiple places where classpaths can be specified)?
A lot of questions, but a complicated matter (for me, at least) nonetheless.
Thanks. -
3. Re: Understanding CLASSPATH
starksm64 Mar 3, 2006 6:09 PM (in response to vk101)Read this until its clear:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases