WebStorm IDE & Java SE 1.6 on Mac OS

In this post I am sharing how to setup WebStorm IDE with legacy Java SE 1.6 on Mac OS.

When I installed one of the older versions (8.0.5) of WebStorm IDE on Mac OS X El Capitan and started the application, I got an error saying that I need to install legacy Java SE 1.6 runtime.

Webstorm legacy Java issue
Webstorm legacy Java issue

I did not have Java 1.6 installed and did not plan to do so. An alternative approach here (the easiest for me) was to update WebStorm IDE configuration to accept newer versions of Java.

To do so, you need to update the WebStorm Information Property List File. Make sure you backup your Info.plist file before any changes!

The property list file (Info.plist) file for the IDE is located under /Applications/WebStorm.app/Contents

The property list file contains an entry with key JVMVersion that has the following value: 1.6*. That value says that Java 1.6 is required.

Webstorm legacy Java issue before change
Webstorm legacy Java issue before change

All needs to be done it to change that property to something like 1.6+, which means that Java 1.6 or newer is required.

Webstorm legacy Java issue after change
Webstorm legacy Java issue after change

After saving the changes, the IDE started with no issue.