As I researched on this very same question, I got the following :
Unlike Ruby & Python - Java do-not have the concept of system wide installation of libraries. So, they configure their class-path to avoid clashes.
Seems logical. But then why do we have them in Python & Ruby, etc ? We could have done exactly how java does it.
Why create a problem and then try to solve it in a hacky way ??
That said, then I found this:
Groovy just like ruby has gvm on the lines of rvm.
Now, Groovy is scripting version of the java world. It again seems need / have the same problem to solve.
So, Why do we need virtualenvironments in case of scripting languages ?
Can anyone explain - what am I missing ?
PYTHONPATH
.virtualenv
is just more convenient. – Martijn Pieters yesterday