Note: You will need to do this everytime you restart tails!
When you first open tor click the icon in your upper right hand corner.
Next click Advanced security settings. You should see a window like this open:
Now click safest
In your address bar type About:config
Click accept the risk and continue
In the search bar type java
and you’re done!