Fritz Elfert wrote:
On Sunday 05 November 2006 10:03, viq wrote:
db v4 seems to be hard coded to depend on java 1.3 (for the -java
subpackage/flavor)
OpenOffice wants java 1.4 or newer.
It's nice to have a new java installed, and I already have 1.5 built
and installed.

Is there a way to have only one version of java installed, or if I
want OpenOffice running I will have to have all 3 versions of java
installed?

Actually, *at runtime* OOo doesn't depend on java at all. It's just the RUN_DEPENDS in the Makefile. In my own port, i have left them out intentionally. At runtime, in Options/Java you then can configure a JVM (including parameters and classpath) of your choice.

Note:
WIthout java, some functionality will be missing. E.g. the Wizards. If you invoke a function which depends on java and it can't find a JVM, a messagebox will pop up.

What you just described in your note is a java runtime dependency.
So yes indeed OOo does have a runtime java that needs to be
controlled. For example, I don't want people trying to run OOo
with a pre p9 1.4 jdk that has internal libz in it. The runtime java
depend is contained in the openoffice-java subpackage, so the base
package doesn't require java.

If you can demonstrate that some of the files contained in the
PLIST-java or PFRAG-shared-java pkg lists can be used without
java installed, I would be happy to move them into the base
package. For example, I did that with the help file that require
java to build but don't need java to run.

@kurt:
You probably should reconsider your recent change of dependencies. Even the system db4.jar should work nicely with a 1.5 JVM.

Yes the current run depends for db-java allow the user to use any
jdk  or jre 1.3 and higher. There is no need to restrict that to 1.5 when
1.3 would work fine. It is ok that OOo needs a 1.4+ and higher
jdk or jre and db-java is 1.3+.

Its pretty simple. A user who wishes to run OOo java features can
simply build and install any 1.4+ or higher jdk, then install the
openoffice-java subpackage and all the runtime depends will
be satisfied.

Reply via email to