Java SE 6 on OS X Yosemite

Quick fix for those of us running Adobe CS in OS X Yosemite. If you get the following error:


As of this writing, the page for the Java SE 6 runtime isn’t working. However, by running the following Sudo commands in Terminal, you can bypass an unnecessary installation altogether:

sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle