Re: CLASSPATH for all Java installations?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 12, 2024 at 11:19 PM Jeffrey Walton <noloader@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux