The differentiation you describe below for /opt and /usr/local also pretty well jibes with my understanding. <div><br></div><div>I think that a local build of OpenJDK6 would reasonably be copied to /usr/local/openjdk6 for usage. Perhaps I'm a bit old fashioned, but, I like setting JAVA_HOME and placing the bin on the PATH. This lets me easily test & deploy different JVM's, on a given machine, according to the needs of the application.</div>
<div><br></div><div>It gets really confusing (at least for me) on a Mac when there are many JVM's (both 32 and 64 bit versions) and somehow the system and application preferences interact to magically determine the best JVM to use.<br>
<div><br></div><div>--Luss</div><div> <a href="http://openscg.org">http://openscg.org</a><br><br><div class="gmail_quote">On Sun, Jan 2, 2011 at 8:08 PM, Shea Levy <span dir="ltr"><<a href="mailto:shea@shealevy.com">shea@shealevy.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>-------- Original Message --------</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th align="right" valign="baseline">Subject: </th>
<td>Re: A More FHS-Compliant JDK Install</td>
</tr>
<tr>
<th align="right" valign="baseline">Date: </th>
<td>Sun, 02 Jan 2011 17:06:44 -0800</td>
</tr>
<tr>
<th align="right" valign="baseline">From: </th>
<td>Shea Levy <<a href="mailto:shea@shealevy.com" target="_blank">shea@shealevy.com</a>></td>
</tr>
<tr>
<th align="right" valign="baseline">To: </th>
<td>"Lussier, Denis" <<a href="mailto:denisl@openscg.com" target="_blank">denisl@openscg.com</a>><span class="Apple-style-span" style="font-size: small; "> </span></td></tr></tbody></table><div class="im">
<p>Hi Luss,</p>
<p>My understanding (based on similar reasoning to the section of <a href="http://lists.netisland.net/archives/plug/plug-2006-01/msg00132.html" target="_blank">http://lists.netisland.net/archives/plug/plug-2006-01/msg00132.html</a> which starts "I recall a standard on this that I once read.") is that /opt is is better suited for binary distributions and /usr(/local) is more appropriate for packages built on the system. Additionally, installing in /usr(/local) means no need to change $PATH, no need to add custom directories for linkers to look for, and probably (eventually) no need for env variables like $JAVA_HOME. I may be completely off-base here, though, I'm far from an expert in file system standards (though if I'm wrong, I have no idea what differentiates /opt and /usr).</p>
<p>Cheers,<br> Shea</p>
</div><div><div></div><div class="h5"><p><br></p></div></div></blockquote></div></div></div>