[Open Office] JRE register component still broken
Jan Holesovsky
kendy at suse.cz
Fri Jun 23 03:19:03 EDT 2006
On Friday 23 June 2006 00:12, Andreas Radke wrote:
> For a long time the build on Arch64 - archlinux x86_64 port the build
> breaks like this:
>
> OOC680_m6
[...]
> [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.javaldx failed! register component
> 'javaloader.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb'
> succesful! register component 'javavm.uno.so' in registry
> '../../unxlngx6.pro/lib/uno_services.rdb' succesful! regcomp -register -br
> ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb -r
> ../../unxlngx6.pro/lib/uno_services.rdb -c \
> file:///var/abs/local/openoffice/src/ooo_OOC680_m6_src/testtools/source/bri
>dgetest/../../unxlngx6.pro/class/testComponent.jar \
> -env:URE_INTERNAL_JAVA_DIR=file:///var/abs/local/openoffice/src/ooo_OOC680_
>m6_src/solver/680/unxlngx6.pro/bin [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.javaldx failed! 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:///var/abs/local/openoffice/src/ooo_OOC680_m6_src/testtools/source/br
>idgetest/../../unxlngx6.pro/class/testComponent.jar' in registry
> '../../unxlngx6.pro/lib/uno_services.rdb' failed! error (RuntimeException):
> [JavaVirtualMachine]:An unexpected error occurred while starting Java!
> dmake: Error code 1, while making
> '../../unxlngx6.pro/lib/uno_services.rdb' dmake:
> '../../unxlngx6.pro/lib/uno_services.rdb' removed.
> '---* tg_merge.mk *---'
This happens to me when I have both Sun & gcj java installed. What does
java -version
say?
java version "1.4.2"
gij (GNU libgcj) version 4.1.0 (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
is the recommended choice ;-)
> I've trried
>
> --with-java=no
> --with-java=gij
> --with-jdk-home=/opt/java / --with-java-home=/opt/java --with-java
>
> We are using gcc4.1.1/jre 1.5.0.6(7 also tested)/glibc2.4
So, you have the combination of Sun Java & gcj/gij, right? I'd try to
uninstall the Sun Java...
Regards,
Jan
More information about the Openoffice
mailing list