Getting JAVA_HOME at runtime
Jean-Baptiste Quenot
jbq at caraldi.com
Tue Apr 18 08:49:08 UTC 2006
* Greg Lewis:
> Yes. It also potentially fails if the machine has installed the
> resin2 package but hasn't got the ports tree installed.
Right.
> Unfortunately I don't have a good solution to that at the
> moment. It almost seems like we want a flag or environment
> variable that tells javavmwrapper to dump what it found out
> rather than actually executing anything.
That would be interesting, but can you confirm that the JDK lookup
algorithm is implemented both in bsd.java.mk and in javavm? We
might want to unify both, for example bsd.java.mk should use the
wrapper.
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
More information about the freebsd-java
mailing list