following symlinks in findinjava and properly double-quoting variables