To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58755
Issue #:|58755
Summary:|build fails in testtools with gcc 4.1 using gcj
Component:|porting
Version:|680m141
Platform:|Sun
URL:|
OS/Version:|Linux
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P3
Subcomponent:|code
Assigned to:|mh
Reported by:|sparcmoz
------- Additional comments from [EMAIL PROTECTED] Thu Dec 1 12:24:18 -0800
2005 -------
using loader com.sun.star.loader.Java2
[Java framework] The JRE specified by the bootstrap variable
UNO_JAVA_JFW_JREHOME or UNO_JAVA_JFW_ENV_JREHOME could not be recognized.
Check the values and make sure that you use a plug-in library that can recognize
that JRE.register component
'file:///home/jim/ooo680/testtools/source/bridgetest/../../unxlngs.pro/class/testComponent.jar'
in registry '../../unxlngs.pro/lib/uno_services.rdb' failed!
error (RuntimeException): [JavaVirtualMachine]:An unexpected error occurred
while starting Java!
dmake: Error code 1, while making '../../unxlngs.pro/lib/uno_services.rdb'
dmake: '../../unxlngs.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'
ERROR: Error 65280 occurred while making
/home/jim/ooo680/testtools/source/bridgetest
[EMAIL PROTECTED]:~/ooo680/testtools$
[EMAIL PROTECTED]:~/ooo680/jvmfwk$ $CXX --version
g++ (GCC) 4.1.0 20051026 (experimental)
provides libgcj.so.7
This patcch solved it:
Index: plugins/sunmajor/pluginlib/gnujre.cxx
===================================================================
RCS file: /cvs/udk/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx,v
retrieving revision 1.4
diff -u -r1.4 gnujre.cxx
--- plugins/sunmajor/pluginlib/gnujre.cxx 7 Sep 2005 19:29:41 -0000
1.4
+++ plugins/sunmajor/pluginlib/gnujre.cxx 1 Dec 2005 20:16:08 -0000
@@ -63,7 +63,8 @@
char const* const* GnuInfo::getRuntimePaths(int * size)
{
static char const* ar[]= {
- "/lib/libgcj.so.6"
+ "/lib/libgcj.so.7"
+ , "/lib/libgcj.so.6"
---------------------------------------------------------------------
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]