"damaged file" can not select "Allow apps downloaded from:" "App Store and identified developers"
Hello -
I have Mojave 10.14.3 installed on my touch-bar MacBook Pro.
When I restart the computer, a pop-up says I need to install java xx.xx
When I click on the 'more info' link, this web page opens: https://support.apple.com/kb/DL1572?locale=en_US
After downloading, I get the message when attempting to open the .dmg file: “javaforosx.dmg” is damaged and can’t be opened. You should move it to the Trash.
I've looked for solutions on the web and haven't found one. When I open "System Preferences > Security & Privacy", unlock to make changes, select "Allow apps downloaded from: App Store and Identified developers", it does not 'stick'. That is, going to another preference pane then returning to "Security & Privacy" shows "App Store" (without 'and identified developers') selected.
I tried running a terminal command that supposedly restores the "Anywhere" option, but that did not work, either.
The only thing that I can think of is that I run the free version of Avast Security. Might this be causing the problem?
Thanks for any help you can provide -
Doug
MacBook Pro w/ Touch Bar (2018 or later)