How do I change where a symlink points to, without deleting and creating a new one (with
ln -s "/path/to/point/to" "/path/where/symlink/is")?
When I tried doing that with, for example, to Java's 'Current' symlink, Java wouldn't even work (from the command line, at least, said 'Segmentation Fault') but it was back to normal when I restored the old 'Current' symlink with Time Machine (but later I found out I should use
/Applications/Utilities/Java Preferences.app anyway to change current java version).
So anyway, how do I change an existing symbolic link?