To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42476
User jl changed the following:
What |Old value |New value
================================================================================
Assigned to|mh |jl
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Thu Feb 10 23:46:45 -0800
2005 -------
JL->Maho: I do not understand what the connection is between javac and the
framework. For compiling a Java project the framework is not needed. It is only
needed when, for example Java - UNO components are to be registered in
instset_native. The framework only deals with the Java runtime - no tools, such
as javac.
When a Java VM is needed, then the framework checks if the preconfigured JRE
meets the requirements. The JRE is determined in a jvmfwk3rc which can be found
in unxlngi6/lib.
There is an entry
UNO_JAVA_JFW_ENV_JREHOME=true
which causes the framework to use the environment variable JAVA_HOME to locate
the JRE. You could also put the URL to the JRE right in there by using a
similiar bootstrap variable:
UNO_JAVA_JFW_JREHOME=file:///usr/java/jre...
The framework uses the URL or the system path from JAVA_HOME as starting point
to find the java executable within the installation. These paths are uses for a
SUN JRE
"java",
"bin/java",
"jre/bin/java"
See jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx, function
SunInfo::getJavaExePaths(int * size)
If an executable was found, which was the case here, then it is executed and the
JREProperties.class program is run. This dumps out the System properties which
are then read.
Although the executable could be started successfully, it failed to provide the
properties. Then the algorithm stopped searching for other executables. The
assumption is, that if there was a java found at <jdk>/bin/java then this is the
same as <jdk>/jre/bin/java.
The algorithm stopps searching because otherwise both java exectuables of the
same jdk would be run which is quite costly.
I will try to dig out an 1.3.1 jdk and have a look at the installation.
Meanwhile to could modify in your build environment the jvmfwk3rc to point to
the jre:
UNO_JAVA_JFW_JREHOME=file:///usr/java/jdk1.3.1/jre
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]