我一直在努力在 Ubuntu 14.04 中安装 Phpstorm,因为我是 Ubuntu 新手。我已经把Phpstorm在我的主目录中。下面是我之后用来激活软件的代码。
cd /path/Phpstorm/bin
chmod +x phpstorm.sh
./phpstorm.sh
我收到此错误消息。有人能帮我解决吗?
[ 443] 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.bb.a(bb.java:107)
at com.intellij.idea.MainImpl$1.start(MainImpl.java:49)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:140)
at com.intellij.idea.MainImpl.start(MainImpl.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91)
at java.lang.Thread.run(Thread.java:701)
[ 445] ERROR - nse.impl.GeneralLicenseManager - PhpStorm 8.0.1 Build #PS-138.2001.2328
[ 446] ERROR - nse.impl.GeneralLicenseManager - JDK: 1.6.0_33
[ 446] ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM
[ 446] ERROR - nse.impl.GeneralLicenseManager - Vendor: Sun Microsystems Inc.
[ 446] ERROR - nse.impl.GeneralLicenseManager - OS: Linux
答案1
我遇到了同样的问题。您应该先安装 JDK:
sudo apt-get install openjdk-7-jdk
然后再次尝试从安装文件夹启动 PhpStorm:
./phpstorm.sh