Hello. Let's assume my junittesting class file is equal to the following:
Earlier this did have other stuff in it, but I've taken it all out. When I try to compile this, I keep getting an error saying that junit.framework doesn't exist. The thing is the path for that is C:\Java\junit-4.9.jar, and that's exactly what I've set one of the entries to the classpath equal to. What gives? Thanks.
posted 4 years ago
There is not enough information here.
The way you say it, it sounds like this might not be the actual file that doesn't work, but one that we should "suppose". We need to see the actual file that doesn't work, pared down to as small an example as you can get.
We also need to know how you put the jar on the classpath. There are different ways to do that, and quirks for a couple of them.
You sound a bit like you want someone to say "Gosh, that's a bug, that's supposed to work.". If you've actually found a bug, someone will. But if you actually have, then you can show us what you actually did.
While you're at it, tell us how you do the compile.