Revert "get the $CLASSPATH variable right and allow proper URL as well"

This reverts commit 83044c2c062e5cd0c67f71b7ebf4ab739aa9ccc2.
Revert "expand path before adding it to the $CLASSPATH variable"

This reverts commit 76a514eb6d123b16b7c6ab8b5654dccfacf68047.