On Mon, Feb 12, 2024 at 11:19 PM Jeffrey Walton <noloa...@gmail.com> wrote:
>
> I am building a DocBook, which requires Java. Fop is provided by
> Fedora. I want to install FOP-Hyphenation provided by fop-hyph.jar.
>
> The problem I have is, I don't know the CLASSPATH to place
> fop-hyph.jar. It can be one of several locations provided by Fedora.
> Cf., 
> <https://docs.fedoraproject.org/en-US/java-packaging-howto/fedora_java_specifics/>
> and `alternatives --config java`.
>
> My question is, where can I put fop-hyph.jar so that it is available
> to all Java installations provided by Fedora?
>
> (The info below is from Fedora 39 and Fedora's fop. I can't find
> relevant reading on 'set_classpath' used by fop. I guess my Google-foo
> is off today).

I side stepped the problem by installing fop-hyph.jar alongside fop:

$ find /usr -name '*.jar' | grep fop
/usr/share/java/fop/fop-core.jar
/usr/share/java/fop/fop-events.jar
/usr/share/java/fop/fop-sandbox.jar
/usr/share/java/fop/fop-transcoder-allinone.jar
/usr/share/java/fop/fop-transcoder.jar
/usr/share/java/fop/fop-util.jar
/usr/share/java/fop/fop.jar
/usr/share/java/fop/fop-hyph.jar

Hyphenate is working as expected in all Java environments I tested.

Jeff
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to