mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Oct. 19 2006,13:17 |
|
It's kinda wasteful to find anywhere other than /opt, in my opinion. If Java has been installed via source or debian/rpm package, it will almost 100% definitely without doubt be in PATH, probably for sure. If not, the user already knows enough about the system to not need a failsafe script, or else he's already got bigger problems to deal with. The only place where finding it would be necessary is for tar.gz or uci myDSL extensions, and since you already know where those install, you can narrow your search dramatically.
I think you're making this project much more complicated than it needs to be. How many variations of Java can there possibly be, especially for DSL? The DSL user either 1) knows enough to be able to easily deal with PATH issues, or 2) isn't going to install Java by any method other than MyDSL or Deb. Maybe I'm overlooking custom installers in an official release (like Firefox does)? I don't know if that applies to Java.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|