Jetbrains'IDE can't start after upgrading to OS X Yosemite
You can also solve it by doing the following:

Locate your Installed package (PyCharm or IntelliJ), right click, show package contents

Under contents, open up Info.plist

Locate the JVMOptions dictionary entry, and find the key titled "JVMVersion"

The default value for that key should be "1.6*". change it to "1.6+".

Save it, and re-launch the IDE again.

You should be able to use it without JDK 6 installed.