https://bugs.documentfoundation.org/show_bug.cgi?id=151545

--- Comment #4 from Julien Nabet <[email protected]> ---
(In reply to Stephan Bergmann from comment #3)
> On macOS, you need to install a JDK (not just a JRE), and the path P you add
> on the LibreOffice Advanced Options tab must be such that
> P/lib/server/libjvm.dylib exists and is of the correct CPU architecture
> (i.e., in your case `file .../lib/server/libjvm.dylib` should report
> something like "Mach-O 64-bit dynamically linked shared library arm64").

Just for curiosity:
1) do we need a JDK just for macOS or for all envs?
2) if I remember well the main difference between JRE and JDK is JRE you can
use class file ("pseudo-compiled" .java file) and JDK allows do
"pseudo-compile" java files in class. So why do we need JDK? Isn't the goal
just to use Java class files ?
3) if it's specific to macOS, since we got specific 
STR_ERROR_JVMCREATIONFAILED_MAC in include/svtools/strings.hrc, perhaps we may
change this:
    268 #define STR_ERROR_JVMCREATIONFAILED_MAC        
NC_("STR_ERROR_JVMCREATIONFAILED_MAC", "%PRODUCTNAME requires a Java runtime
environment (JRE) to perform this task. The selected JRE is defective. Please
select another version or install a new JRE and select it under %PRODUCTNAME -
Preferences - %PRODUCTNAME - Advanced.")

into:
    268 #define STR_ERROR_JVMCREATIONFAILED_MAC        
NC_("STR_ERROR_JVMCREATIONFAILED_MAC", "%PRODUCTNAME requires a Java
Development Kit (JDK) to perform this task. The selected JDK is defective.
Please select another version or install a new JDK and select it under
%PRODUCTNAME - Preferences - %PRODUCTNAME - Advanced.")

?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to