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.
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers