That line will make symbolic links ("shortcuts" in Windows-speak) of all your Java executable files in /usr/bin, which is a directory in your PATH. That way, you wouldn't have to add $JAVA_HOME/bin to your PATH in the first place and it would still all work. It's just a different way of accomplishing the same thing, if you don't want to add an extra directory to your PATH and instead make sure that only the files in $JAVA_HOME/bin now (not any added in the future) will be runnable without typing their full path.
That would be something you'd type in the shell as root, not put in any file. See "man ln".
Last edited by jrdioko; 01-16-2006 at 12:26 AM.