This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Work in progress - Archlinux OpenOffice 2.0 against GCJ


Hi,

I do apologize in advance if this question is incorrectly addressed. I've been tasked with building OpenOffice2.0 from source for the Archlinux distribution.

Building without java is as you probably know already, no problems. But, when attempting to integrate it and build with gcj I do have a few concerns.

1. Has any effort been put into porting Apache-ant to compile against GCJ? As OOo depends on ant, which in turn depends on Sun JDK/JRE, OOo would indirectly no longer be "free".

2. Another problem when attempting to use the java-gcj-compat package wrapper scripts, below is the output from running javac with no arguments:

Exception in thread "main" java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.Main not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/tools.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at java.lang.ClassLoader.loadClass(libgcj.so.7)
at java.lang.Class.forName(libgcj.so.7)
at com.sun.tools.javac.Main.<init>(Main.java:55)
at com.sun.tools.javac.Main.main(Main.java:144)


with kind regards,
Chris Stromblad
England, Lewes


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]