Classloaders usually reject incompatible versions of the same class when you do that. Plus they don't come with default SDK.
On the other hand, dynamic language interpreters already handle both syntax parsing and execution at runtime. Therefore loading changes during development is not a big deal for them.