Running PyCharm on Yosemite

Your current Java version is greater than 6 and you get after starting PyCharm an error dialog, the following solution helps.

Check your Java Version

Open PyCharm settings

Edit XML

Now you can start PyCharm