[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ln -s (executeable) /usr/bin/(executeable) ( was: RE: Java 1.2)

"A. Scott White" wrote:
> Oki DZ wrote:
> > create links for the executables:
> > cd /usr/bin
> > ln -s /usr/lib/jdk1.2.2/bin/java java
> >                      ../bin/javac javac
> >                      ../bin/javap javap
> > (do the same for the other executables)

 it might be a lot safer and cleaner to place these in /usr/local/bin instead.  

 Generally /bin, /sbin, and /usr/bin (etc.) directories are intended for OS related stuff, but /usr/local/bin is intended for
site and machine specific 'enhancements'.  Its also easier to move such enhancements to another system or to restore them from
tape after disaster recovery if they aren't mixed up with the rest of the OS files.

 just make sure /usr/local/bin is in the default path in /etc/profiles



Reply to: