[Linux]Java error on start php storm with error message 'No valid license found' (with idea.log)

If i try to start phpstorm i get a java error, why ?

The java error (from idea.log):

2016-04-05 21:39:33,371 [ 1] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-04-05 21:39:33,894 [ 524] INFO - #com.intellij.idea.Main - IDE: PhpStorm (build #PS-145.258.2, 16 Mar 2016 00:00)
2016-04-05 21:39:33,895 [ 525] INFO - #com.intellij.idea.Main - OS: Linux (3.16.0-4-amd64, amd64)
2016-04-05 21:39:33,895 [ 525] INFO - #com.intellij.idea.Main - JRE: 1.8.0_76-release-b18 (JetBrains s.r.o)
2016-04-05 21:39:33,895 [ 525] INFO - #com.intellij.idea.Main - JVM: 25.76-b18 (OpenJDK 64-Bit Server VM)
2016-04-05 21:39:33,927 [ 557] INFO - #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:/usr/local/bin/pstorm_dir/bin/../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Djb.vmOptionsFile=/usr/local/bin/pstorm_dir/bin/phpstorm64.vmoptions -Djava.awt.headless=true -XX:ErrorFile=/home/dustin/java_error_in_WEBIDE_%p.log -XX:HeapDumpPath=/home/dustin/java_error_in_WEBIDE.hprof -Djb.restart.code=88 -Didea.paths.selector=PhpStorm2016.1 -Didea.platform.prefix=PhpStorm
2016-04-05 21:39:33,927 [ 557] INFO - #com.intellij.idea.Main - ext: /usr/local/bin/pstorm_dir/jre/jre/lib/ext: [nashorn.jar, meta-index, jaccess.jar, zipfs.jar, sunpkcs11.jar, sunjce_provider.jar, localedata.jar, dnsns.jar, sunec.jar, cldrdata.jar]
2016-04-05 21:39:33,927 [ 557] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2016-04-05 21:39:33,976 [ 606] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 49 ms
2016-04-05 21:39:34,160 [ 790] ERROR - nse.impl.GeneralLicenseManager - No valid license found
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:127)
at com.intellij.ide.a.l.K.a(K.java:143)
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:498)
at com.intellij.idea.MainImpl$1.start(MainImpl.java:48)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:173)
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:498)
at com.intellij.idea.MainImpl.start(MainImpl.java:43)
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:498)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:92)
at java.lang.Thread.run(Thread.java:745)
2016-04-05 21:39:34,162 [ 792] ERROR - nse.impl.GeneralLicenseManager - PhpStorm 2016.1 Build #PS-145.258.2
2016-04-05 21:39:34,162 [ 792] ERROR - nse.impl.GeneralLicenseManager - JDK: 1.8.0_76-release
2016-04-05 21:39:34,162 [ 792] ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM
2016-04-05 21:39:34,162 [ 792] ERROR - nse.impl.GeneralLicenseManager - Vendor: JetBrains s.r.o
2016-04-05 21:39:34,162 [ 792] ERROR - nse.impl.GeneralLicenseManager - OS: Linux
2016-04-05 21:39:34,164 [ 794] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2016-04-05 21:39:34,214 [ 844] INFO - org.jetbrains.io.BuiltInServer - web server stopped

 

I found this post : https://intellij-support.jetbrains.com/hc/en-us/community/posts/207029465-No-valid-license-found but my my java version is 1.7

java -version output :

java version "1.7.0_91"
OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

1 comment
Comment actions Permalink

Hi,

From the log, built-in JDK is being used so there is no need to install it separately.

Please remove or rename the settings directory (location can be found with the help of <https://intellij-support.jetbrains.com/hc/en-us/articles/206544519>) and try to start PhpStorm again.

0

Please sign in to leave a comment.