Failed install of Webstorm 10 : Linux64
Run of ./webstorm.sh results in:
Internal error. Please report to https://youtrack.jetbrains.com
java.lang.NoClassDefFoundError: sun/misc/Resource
at com.intellij.util.lang.ClassPath.getLoader(ClassPath.java:205)
at com.intellij.util.lang.ClassPath.getLoader(ClassPath.java:158)
at com.intellij.util.lang.ClassPath.getResource(ClassPath.java:116)
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:210)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:375)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:34)
at com.intellij.idea.Main.main(Main.java:84)
Caused by: java.lang.ClassNotFoundException: sun.misc.Resource
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
I've tried almost any java jdk:
sudo update-alternatives --config
7,8,9 even 6
the same result.
Found the classes here
First time I experience such problem with that installation so far.
Any ideas how to overcome the issue? Anybody?
Please sign in to leave a comment.
WebStorm comes with its own, bundled JDK that is used by default, so you don't need installing Java
Please delete the installation along with `~/.WebStorm2017.2` folder and re-install from scratch, making sure to extract the files to the empty folder
Oh, sorry, didn't notice that you are using WebStorm 10... I'd still suggest re-installing from scratch. Then you would need to install Oracle 1.7 JDK and specify a path to it in your webstorm.sh by adding the following on the second line: