IntelliJ Idea13 Launcher Working with Java 8

After updating my iMac to Yosemite Beta 1 over the weekend, I tried to launch Idea13 to try to get some work done and I get hit with this.

IntelliJ Idea13 Launcher Error

I have Java 8 installed and decided to cut the cord with 1.6.  A quick edit of the Info.plist file under /Applications/IntelliJ IDEA and changing the JVMVersion to 1.8* from 1.6* made the launcher use Java 1.8 and launched with no problems.

IntelliJ Idea13 Info.plist EditJust to be clear, this only applies to what version of Java is used by the Launcher and not related to your projects JVM/JDK version.

Self Hosting your WordPress Blog for Free

My first post on my blog is going to be about how I setup this self hosted WordPress blog for free on Red Hat’s OpenShift PaaS. You can have a WordPress blog up and running in a few minutes including a custom domain.

Setting up OpenShift and deploying a WordPress Application

OpenShift has a Free account level which gives you access to 3 Small Gears which should be enough for a personal blog with a decent amount of traffic. Sign up for the Free account level on OpenShift and validate your email. OpenShift Account Levels

After validation of your email address, login to the OpenShift site and create a new application.

Screenshot of the Create New Application Screen

Under the Instant App section, pick the WordPress 3.x app and configure it. Pick a Public URL which is how everyone will get to your blog. The namespace will be common to any other applications you deploy on this account. Pick PHP 5.4 and MySQL 5.5 for your cartridges and select “Scale with web traffic” for Scaling. It doesn’t automatically scale for now and my plan is to make that a separate project and post. Leave the rest of the options as default and Create the Application. Application Setup Screen

It will take a while while it brings the gears and cartridges online. Once done, it will bring up a screen with your MySQL database authentication info. Make a note of this so you can connect to your database later. Once done, you will see your application in your Applications list. Click on it to see your application details. It gives you details on how many gears you are using, cartridges and their status. Click on the URL next to your application name to go to the site. It will take you to the WordPress setup screen where you give your blog a name and setup the admin account. This is the account you will use to login to your blog to write any posts and also to maintain it.

Adding a Custom Domain

The default application URL that OpenShift gives your application will be under the rhcloud domain. If you have your own domain, it is very easy to point that to this application. You will need to know how to create CNAME records with your DNS provider. Add a CNAME record with a sub-domain pointing to the OpenShift application URL. For my blog, I have the “naga” sub-domain pointing to Once you add the CNAME record to your domain, you need to add that as an alias to your application name. To do this, you need to have installed the OpenShift RHC Client Tools. Install the tool and run setup on the same following the instructions in the link above. Once setup, run the following command in your terminal. Replace <application-name> and <custom-domain-name> with what your specific values.

rhc alias add <application-name> <custom-domain-name>

Once successful, just wait for the DNS changes to propagate and have fun customizing your blog.