What is Java used for in LibreOffice?
LibreOffice is written primarily in C / C++, a language that generates programs called "native" designed for specific platforms. There are versions for Windows, Linux or Solaris, but not for all three at the same time. However, some modules can be written in other languages, including Java.
Specifically, currently (as of version 6.3) at least these components/functionality require Java:
- HSQLDB (optionally used for embedded database in Base; default is Firebird that doesn't depend on Java)
- Some wizards (particularly, Table/Query/Form/Report Wizards in Base)
- ReportBuilder (used to generate actual reports from report templates in Base)
- Non-Linear solver built-in extension in Calc (there is an experimental Swarm solver that doesn't depend on Java)
- MediaWiki extension (Wiki Publisher)
- Support for scripts and extensions written in Java/Beans