A More FHS-Compliant JDK Install
Lussier, Denis
denisl at openscg.com
Mon Jan 3 02:09:53 UTC 2011
The differentiation you describe below for /opt and /usr/local also pretty
well jibes with my understanding.
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.
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.
--Luss
http://openscg.org
On Sun, Jan 2, 2011 at 8:08 PM, Shea Levy <shea at shealevy.com> wrote:
> -------- Original Message --------
> Subject: Re: A More FHS-Compliant JDK Install Date: Sun, 02 Jan 2011
> 17:06:44 -0800 From: Shea Levy <shea at shealevy.com> To: "Lussier, Denis"
> <denisl at openscg.com>
>
> Hi Luss,
>
> My understanding (based on similar reasoning to the section of
> http://lists.netisland.net/archives/plug/plug-2006-01/msg00132.html 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).
>
> Cheers,
> Shea
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20110102/29be32f6/attachment.htm>
More information about the build-dev
mailing list