Why does Solver ask for JRE if it works without it?

Learned about Calc’s Solver option and when I went to try it out I got the “LibreOffice requires a 32-bit Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice. Frequently asked questions - General - The Document Foundation Wiki” message box, but it worked without it.

Is it used for something specific in Solver or is this bug?

Why does Solver ask for JRE if it works without it?

Because it tries to initialize the two actually useful non-linear solvers, and those need Java. When you decline, it still has solvers, that don’t need Java (so it works somewhat) - but two of them are linear, and one experimental.

What you get with Java enabled:

What you get without:

1 Like

So that’s why it appears. Thanks for clearing up my question.