The 'debian way' would be to put it in /usr/local and then to create an
alternatives entry for it.

sudo update-alternatives --install java java /path/to/java 1
sudo ln -s /etc/alternatives/java /usr/bin/java

That way, if you were ever to apt-get install sun-java, it would just
work, and you could easily change between the sun java packaged java or
the binary installed one if you run into problems down the line.

Note: you could even house it in your home dir, just put the proper path
in the --install thing. That's what I do with azureus.

Von Fugal

Attachment: signature.asc
Description: Digital signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to