jimlee2...@gmail.com wrote:
> The reason I am asking this question is because I have the following
> scenario.
[quoted text clipped - 10 lines]
> (Given the fact that I don't know exactly which jre version they are
> running?)
You'd have to compile class c under the lowest common denominator.
Meaning, if you possibly had clients with JRE1.2, then you'd have to
write the class for 1.2.
The alternative is to have the clients upgrade JRE's, and supply them
with a fresh build, rather than a patch.
It becomes complicated to keep track of "patches" if you do it file by
file.
"This client has a.class version 1, b.class version 32, and c.class
version 14. c.class version 15 isn't compatible with a.class version
1, but is with a.class version 3, but a.class isn't compatible with
b.class version 32." etc... etc...
Put everything in a single Jar file, then you can upgrade it all at
once.