Nancy Brandt wrote:
>
> Hi guys,
>
> I am working in Debian Linux.
>
> I would like to change the default body font to Verdana. As Bob Stayton
> writes in his book about Docbook XML, I should run the following command
> after locating the needed font:
>
> # java -cp /home/nancy/fop-0.94/build/fop.jar;
> /usr/share/java/avalon-framework.jar; /usr/share/java/commons-logging.jar;
> /usr/share/java/commons-io.jar org.apache.fop.fonts.apps.TTFReader
> /usr/share/fonts/truetype/verdana.ttf verdana_metric.xml
>
> But the following error occurs:
> Usage: gij [OPTION] ... CLASS [ARGS] ...
> to invoke CLASS.main, or
> gij -jar [OPTION] ... JARFILE [ARGS] ...
> to execute a jar file
> Try `gij --help' for more information.
> bash: /usr/share/java/avalon-framework.jar: Permission denied
> bash: /usr/share/java/commons-logging.jar: Permission denied
> bash: /usr/share/java/commons-io.jar: Permission denied
>
> What do I do wrong? :-(
>
> Thanks in advance!
> Nancy
>
These are basic questions, but:
1) Do you keep the FOP jar filesin /usr/share/java? They are
normally found in fop\build or fop\lib.
2) Are these the actual names of the files? My FOP jar files
usually have a version number suffix:
avalon-framework-4.2.0.jar, commons-io-1.3.1.jar, ...
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]