Installing Webstorm on Fedora made easy. With this short manual, you’ll get Webstorm up and running on Fedora in 5 Minutes.
Personally I’m a very enthusiastic about OpenSource software and I try to use it wherever possible, as long as it’s reasonable. And VIM in combination with TMUX is defiantly my personal favorite.
But I got a free licence for WebStorm from a nodejs Meetup here in Vienna. So I’m going to give it a shot and discover the pros and cos of using a IDE compared to my beloved VIM+TMUX setup.
1. Download and install OracleJDK.
OracleJDK can be downloaded from the Oracle Website.
To run Webstorm on Fedora, JetBrains recommends to to use OracleJDK instaed of OpenJDK, as the default environment, as there might be some bug’s and performance issues.
After you downloaded the rpm file, install OracleJDK using dnf:
sudo dnf install jdk-8u*-linux-x64.rpm
2. Configure your System to use OracleJDK by default.
I’ve tried to run WebStorm with OpenJDK, but I got the following errors.
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0 log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [ 361] ERROR - nse.impl.GeneralLicenseManager - No valid license found java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:115) at com.intellij.ide.a.g.cb.a(cb.java:119) at com.intellij.idea.MainImpl$1.start(MainImpl.java:44) at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:120) at com.intellij.idea.MainImpl.start(MainImpl.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:90) at java.lang.Thread.run(Thread.java:745) [ 363] ERROR - nse.impl.GeneralLicenseManager - WebStorm 11.0 Build #WS-143.381.46 [ 363] ERROR - nse.impl.GeneralLicenseManager - JDK: 1.8.0_65 [ 363] ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM [ 363] ERROR - nse.impl.GeneralLicenseManager - Vendor: Oracle Corporation [ 363] ERROR - nse.impl.GeneralLicenseManager - OS: Linux
It looks like we have an incompatibility here, that doesn’t allow us to run webstorm on fedora.
I don’t have the knowlage to analyse this problem and figure out if there are ways to get fix it from “user” site. The way I’ve got WebStrom running was by setting OracleJDK as the default Java environment.
For the people running software that depends on OpenJDK, I can’t give you a list of what works and in OracleJDK and what not. But I’ve made tests on how LibreOffice runs on OracleJDK. And my tests all have been successful.
To set OracleJDK as your default environment, execute the following:
sudo alternatives --config java
The command will spawn a little menu that looks like this:
There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/java/jdk1.8.0_65/jre/bin/java 2 /usr/java/jdk1.8.0_60/jre/bin/java *+ 3 /usr/lib/jvm/java-1.8.0-openjdk-22.214.171.124-3.b17.fc23.x86_64/jre/bin/java Enter to keep the current selection[+], or type selection number:
In my case, the first option in the list is the desired one, so I
type 1 into the bash and press enter.
* shows you which java is used by default.
As you can see, I use OpenJDK by default, as most Fedora installations do.
OpenJDK gets installed by default because it’s a dependency of LibreOffice.
Finally we are set up to run Webstorm on Fedora.
3. Download and Install WebStorm on Fedora
The last step to run webstorm on Fedora, is to download WebStorm from their website and install it.
Extract the content to your home folder or wherever you keep your executeables. I personally keep my executeables in /home/zwarag/Applications.
Then change directory to the
in there, execute the
Additional Vim Love
If you love Vim and don’t want to loose those muscle memory gainz, check IdeaVim.
Yes, it’s a WebStorm Plugin to move your cursor like in vim.