[csw-maintainers] Java... again!

Philip Brown phil at bolthole.com
Mon Nov 17 20:17:30 CET 2008


On Mon, Nov 17, 2008 at 07:44:45PM +0100, Trygve Laugstøl wrote:
> Philip Brown wrote:
> > Why dont you like having a combined directory, 
> > 
> > /opt/csw/java/1.5.0_16
> > 
> > that has both the jre and jdk of that version under it?
> 
> Because Sun uses /usr/java as a complete JDK isntallation (or was it JRE?..)

Hmm... I'm not sure what you are disliking here.
Are you going with the principle that "anything with java as the last
component of its name, should be a full runtime", usable as JAVA_HOME?
Just becuase sun does it that way?

Do you not think that JAVA_HOME=/opt/csw/java/default
would be just as appropriate?

And, given that sun seems to give users a choice of
JAVA_HOME=/usr/java
JAVA_HOME=/usr/js2e
JAVA_HOME=/usr/jdk/j2sdk1.4.2.16
JAVA_HOME=/usr/jdk/jdk1.5.0_16
JAVA_HOME=/usr/jdk/instances/jdk1.5.0
JAVA_HOME=/usr/jdk/latest  # oh look!! looks like /opt/csw/java/default :)

I think that in this case, we should toss out what sun does, and start with
our own CONSISTENT naming, that can stay consistent pretty much from now
until forever :-)

(JAVA_HOME=/opt/csw/java/{pick-your-version}, where version can 
   also be "default")





More information about the maintainers mailing list