[csw-maintainers] Java... again!

Philip Brown phil at bolthole.com
Mon Nov 17 18:03:49 CET 2008


On Mon, Nov 17, 2008 at 09:59:25AM +0000, James Lee wrote:
> 
> An /opt/csw/bin/java link would work.  It's possible for java to work
> out where the jre is from System.getProperty("java.home");

too bad that most things dont USE that. there's lot of badly written java
code.
you're lucky if it even pays attention to JAVA_HOME.



> There are a lot of other files in ${JAVA_HOME}/bin that would need to
> be in /opt/csw/bin too.

ugh. i hope not "lots".
But that would be a reason why it wouuld be better as a wrapper than a
symlink.
Because a wrapper could set JAVA_HOME appropriately, to where it "really"
is.





More information about the maintainers mailing list