Testing the Java Virtual Machine
Skip the table of contentsChecking Java on Mac OS X
Important note: Google Chrome, Mozilla Firefox (version 52 and later) and Safari (version 12) have limited their support for the technology required for Java applets (NPAPI). Therefore, if you need to carry out a formality on the AEAT’s electronic headquarters that requires Java, the browser you should use on a Mac is Mozilla Firefox, version 52 or earlier. Please also bear in mind that to install Java 8 on a Mac, you need OS X version 10.7.3 or later.
Alternatively, you can use a Windows computer with Microsoft Edge, setting it to Internet Explorer compatibility mode.
Go to the official Java website to download and install it.

You can also consult help in the information available under the ‘Help resources’ section, ‘Frequently asked questions about Mac’.
How to enable the Java plug-in in your browser
We would like to remind you that Google Chrome has stopped supporting certain plug-ins, including the Java plug-in, from version 45 onwards; Mozilla Firefox from version 52 onwards; and Safari from version 12 onwards. You will therefore need to use a version earlier than those mentioned. As rolling back the Safari update is not recommended, we advise you to install a version of Firefox that still supports the Java plug-in, or to install the Pale Mon browser.
If you are using a version of Mozilla Firefox earlier than 52, follow these instructions to check the Java plug-in:
Check whether it is enabled under ‘Tools’, ‘Add-ons’, ‘Plugins’.
To prevent the browser from blocking Java from running, select the "Always enable" option instead of "Ask before enabling" from the drop-down menu on the right-hand side of the plug-in.
In any case, we would like to remind you of the need to always enable the execution of plugins when carrying out formalities with the Tax Agency, should your browser request it.

Also, if the "Java Embedding" add-on appears, disable it.If a coloured icon appears next to the address bar warning you about the Java plug-in, click on it and select ‘Allow and remember’.

If the Java plug-in does not appear, please ensure that Mozilla Firefox is running in 64-bit mode. To do this, go to ‘Finder’, then ‘Applications’, right-click on the ‘Firefox.app’ icon and select ‘Get Info’. 32-bit mode must be disabled.

It is advisable to disable automatic updates for Mozilla Firefox (versions prior to 52) that you will be using for formalities requiring Java. To do this, click on ‘Open Menu’ or the icon with three horizontal lines in your browser, then select ‘Preferences’. In the ‘General’ section, look for the ‘Firefox Updates’ section and tick the option ‘Do not check for updates (not recommended)’.
For further information, consult the ‘Java Help Centre’ section on the official Java website.