Using OS X, opening the Adobe CS5 applications may prompt you to install Java 6. To bypass this prompt without installing Java, make sure both these directories exist:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/
You can create them via Terminal using the following commands:sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
Thanks to Michael Stassen.