I think you somehow got the command wrong. GCJ (which you seem to be
using) tries to use part of the classpath as the main class. I can't
tell from your post how exactly you wrote the command. From my own
experiments I can tell that GCJ is rather special compared to other Java
tools. I've never had much success with it. I think you either have to
figure out how exactly you have to build the command for the TTFReader
with GCJ or you should install a Sun or Harmony JVM and proceed as
documented on the website.
Remember what Manuel told you: FOP may not satisfy your requirements
with arabic script as a lot of functionality in this area is still
missing. Good luck all the same.
On 08.03.2007 22:20:43 Rico Secada wrote:
Hi
I am trying to make a custom font for FOP to use, I am using the information
on the website.
I get the following error:
build/fop.jar:lib/avalon-framework.jar:lib/xml-apis.jar:
lib/xercesImpl.jar:lib/xalan.jar org.apache.fop.fonts.apps.TTFReader
.fonts/Iqraa.ttf Iqraa.xml
Exception in thread main java.lang.NoClassDefFoundError:
lib.xercesImpl.jar:lib.xalan.jar
at gnu.java.lang.MainThread.run(libgcj.so.70)
Caused by: java.lang.ClassNotFoundException:
lib.xercesImpl.jar:lib.xalan.jar not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at gnu.java.lang.MainThread.run(libgcj.so.70)
What am I doing wrong?
Best and kind regards,
Rico
Jeremias Maerki
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]