Java JDK 1.5.0.01 and Open Office 1.1.4
I'm running Gentoo, with kernel 2.6.10-r4. I have JDK 1.5.0.01 and JRE 1.5.0.01 installed and they have been running flawlessly (java web apps work great and everything). I just recently tried to update Open Office from 1.1.3 to 1.1.4 and got the following error:
[code]
ACCEPT_KEYWORDS="~x86" emerge --verbose openoffice
......
......
=============
Building project sandbox
=============
/var/tmp/portage/openoffice-1.1.4/work/sandbox/com/sun/star/lib/sandbox
mkout -- version: 1.3
Making dpj...
------------------------------
Making: ../../../../../unxlngi4.pro/misc/lib_sandbox.dpc
dmake subdmake=true -f makefile.mk strip="true" product="full" depend=t ALLDPC
------------------------------
No Dependencies
javac -classpath ".:../../../../../unxlngi4.pro/class:/opt/sun-jdk-1.5.0.01/jre/
lib/rt.jar:." -d ../../../../../unxlngi4.pro/class AudioProxy.java
Cachable.java ClassContext.java
ClassContextImpl.java ClassContextProxy.java
CodeSource.java Disposable.java
ExecutionContext.java Holder.java
ImageProducerProxy.java JarEntry.java
JarInputStream.java Permission.java
PermissionCollection.java ProtectionDomain.java
Resource.java ResourceImpl.java
ResourceProxy.java ResourceViewer.java
SandboxMessageHandler.java SandboxThreadGroup.java
SandboxSecurity.java SandboxSecurityException.jav
a WeakRef.java WeakTable.ja
va WeakEntry.java
XImage.java
ClassContextImpl.java:307: as of release 1.5, 'enum' is a keyword, and may not b
e used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
java.util.Enumeration enum = m_class_path_jars.elements();
^
ClassContextImpl.java:308: as of release 1.5, 'enum' is a keyword, and may not b
e used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while (enum.hasMoreElements())
^
ClassContextImpl.java:310: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
ClassContext context = (ClassContext)enum.nextElement();
^
3 errors
dmake: Error code 1, while making '../../../../../unxlngi4.pro/misc/lib_sandbox_dummy.java'
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.4/work/sandbox/com/sun/star/lib/sandbox
!!! ERROR: app-office/openoffice-1.1.4 failed.
!!! Function src_compile, Line 400, Exitcode 1
!!! Build failed!
!!! If you need support, post the topmost build error, NOT this status message.
[\code]
Any ideas? Thanks in advance.
|