[Open Office] JRE register component still broken

Andreas Radke a.radke at arcor.de
Sat Jun 24 02:35:26 EDT 2006


Again: I'm the maintainer of Arch64 - the archlinux x86_64 port.

[andyrtr at workstation64 javatest]$ gcj -v
Es werden eingebaute Spezifikationen verwendet.
Lesen der Spezifikationen
von /usr/lib/gcc/x86_64-unknown-linux-gnu/4.1.1/../../../libgcj.spec
Spezifikation wird von lib nach liborig umbenannt Ziel:
x86_64-unknown-linux-gnu Konfiguriert mit: ../gcc-4.1.1/configure
--prefix=/usr --enable-shared --enable-languages=java
--enable-threads=posix --enable-__cxa_atexit --enable-java-awt=gtk
--libdir=/usr/lib --disable-multilib Thread-Modell: posix gcc-Version
4.1.1

[andyrtr at workstation64 javatest]$ gij -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1

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. [andyrtr at workstation64 javatest]$



Am Sat, 24 Jun 2006 11:07:58 +1000
schrieb jim <jim at amarooas.com.au>:

> On Fri, Jun 23, 2006 at 07:44:48PM +0200, Andreas Radke wrote:
> > when i remove j2re and j2sdk from the system "javadoc" from j2sdk is
> > missing:
> 
> It may be enough for you to make a symbolic link such that 
> 
> javadoc -> /usr/bin/gjdoc
> 
> If you use java-gcj-compat as suggested by VMiklos, it does almost
> the same thing: /usr/bin/javadoc -> /etc/alternatives/javadoc
> /etc/alternatives/javadoc -> /usr/bin/gjdoc

We still have no such packages. We only have the included the wrapper
from Debian. Shouldn't it be possible to build without those extra
packages? I haven't seen any other package that needs such
compatibility stuff.

> 
> > It's strange that you recommend to remove sun java. apache-ant
> > depends on it. So I see no way to build it without j2re/j2sdk
> > packages.
> 
> It must be possible because I build vanilla OOo on GNU/Linux SPARC
> with apache-ant-1.6.5 using only gcc/gcj which is built from vanilla
> gcc sources at gcc.gnu.org. This needs the patches in
> cws_src680_maho1 to remove some hard-coded java commands.

Our apache-ant is built with j2sdk.

> > class GetJVMInfo
> > {
> >   public static void main(String [] args)
> >    {
> >     System.out.println("java.version=
> > "+System.getProperty("java.version"));
> > System.out.println("java.vendor=
> > "+System.getProperty("java.vendor"));
> > System.out.println("java.home=
> > "+System.getProperty("java.home")); } }
> > 

[andyrtr at workstation64 javatest]$ gij GetJVMInfo.
Exception in thread "main" java.lang.NoClassDefFoundError: GetJVMInfo.
   at gnu.java.lang.MainThread.run(libgcj.so.7)
Caused by: java.lang.ClassNotFoundException: GetJVMInfo.
   at java.lang.Class.forName(libgcj.so.7)
   at gnu.java.lang.MainThread.run(libgcj.so.7)
[andyrtr at workstation64 javatest]$

Bad. Isn't it?

Andy


More information about the Openoffice mailing list