Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where does a class come from?


  • From: mgart@xxxxxxxxxxxxx (Gart, Mitch)
  • Subject: where does a class come from?
  • Date: Wed, 29 Dec 1999 18:22:00 -0500

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