Advanced

Contents
Index 🔎︎

# Java

Specifies the support options for Java applications in LibreOffice, including which Java Runtime Environment (JRE) to use. It also specifies whether to use experimental (unstable) features such as macro recording and access expert configuration.

To access this command...

Choose LibreOffice - PreferencesTools - Options - LibreOffice - Advanced.

Some options cannot be reset once edited. Either edit back the changes manually or click Cancel and reopen the Options dialog.

## Java options

The current list of LibreOffice modules and resources that depends on Java is available in the wiki.

### Use a Java runtime environment

Allows you to run Java applications and applets in LibreOffice. When a Java application or applet attempts to access your hard drive, a prompt opens.

Make sure to install a JRE compatible with the LibreOffice architecture: 64-bit JRE for 64-bit LibreOffice and 32-bit JRE for 32-bit LibreOffice.

### Java runtime environments (JRE) already installed:

Select the JRE that you want to use. On some systems, you must wait a minute until the list gets populated. On some systems, you must restart LibreOffice to use your changed setting. The path to the JRE is displayed beneath the list box.

You can override the default JRE of the operating system with one of the following alternatives:

- By setting the environment variable JAVA_HOME,

- By adding a JRE to the $PATH variable,

- By providing the configuration file javasettings_macOS_X86_64.xml javasettings_Windows_X86_64.xml javasettings_Linux_X86_64.xml javasettings_${_OS}_${_ARCH}.xml in the folder <instdir>/presets/config.

### ઉમેરો

Add a path to the root folder of a JRE on your computer. The path is set in the following dialog.

### પરિમાણો

Opens the Java Start Parameters dialog.

### Class Path

Opens the Class Path dialog.

## Optional Features

### Enable experimental features

Enables features that are not yet complete or may contain known bugs. The list of these features is different version by version, or even it can be empty.

### Enable macro recording

Enables macro recording. The Tools - Macros - Record Macro menu item is available.

## Expert Configuration

Opens the Expert Configuration dialog for advanced settings and configuration of LibreOffice.