Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
where does a class come from?
- From: agifford@xxxxxxxxx (Adam Gifford)
- Subject: where does a class come from?
- Date: Thu, 30 Dec 1999 08:51:54 -0500
If you aren't using a package for your classes, i'd suggest changing them to use your own package. This should minimize the chances that conflicting classes are used. package mitch.applet; probably hasnt been used before :) "Gart, Mitch" wrote: > I've got a problem with class version conflicts. My code is > all in a jar but a conflicting version of a class is coming > from somewhere else, outside the jar. I'd like to write a test > that shows where a class is loaded from, that is, what directory > or jar on the CLASSPATH the class comes from. Does anybody know > how to write a test like this? > > I think the problem is made a lot harder by the fact that my code > is an applet. The code can't be started with "java -classpath", > instead it must use whatever classpath is set for Netscape. > (The problem is in Netscape 4.5 on Windows 95.) > > It's pretty mysterious because the user has tried setting their > CLASSPATH to be empty. We don't know where the conflicting version > of the class could be coming from. > > Any ideas how to diagnose where a class version conflict is coming > from, in this environment? Thanks in advance, > > - Mitch > > --- > To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx > To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx > --- To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- References:
- where does a class come from?
- From: Gart, Mitch
- where does a class come from?
- Prev by Date: Design Issue
- Next by Date: Re[2]: where does a class come from?
- Previous by thread: where does a class come from?
- Next by thread: where does a class come from?
- Index(es):