Sudo nvram -d boot-args (reboot whenever to change back)
Sudo mkdir /System/Library/Java/Support/Deploy.bundle (same if error**) Sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk (if you get an error**)
Sudo nvram boot-args='rootless=0' (note: angled/comma quotes, e.g.
El Capitan and above kinda blocks us from editing that stuff (system integrity protection), but there's a way around it: