安装全pycharm后执行报错,信息如下:
解决方案如下,
点击(此处)折叠或打开
- [t@bjb0541 ~]$ pycharm-professional
- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
- Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd
- 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.
- [ 692] 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.c.F.a(F.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:497)
- at com.intellij.idea.MainImpl$1.start(MainImpl.java:41)
- at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:120)
- 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.idea.MainImpl.start(MainImpl.java:36)
- 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)
- [ 696] ERROR - nse.impl.GeneralLicenseManager - PyCharm 5.0.4 Build #PY-143.1919.2
- [ 696] ERROR - nse.impl.GeneralLicenseManager - JDK: 1.8.0_71
- [ 696] ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM
- [ 696] ERROR - nse.impl.GeneralLicenseManager - Vendor: Oracle Corporation
- [ 697] ERROR - nse.impl.GeneralLicenseManager - OS: Linux
sudo dnf install java-1.8.0-openjdk
点击(此处)折叠或打开
- [t@bjb0541 ~]$ rpm -qa |grep java-1.8.0-openjdk.x86_64
- [t@bjb0541 ~]$ sudo dnf install java-1.8.0-openjdk.x86_64 -y
- 上次元数据过期检查在 4:50:01 前执行于 Thu Feb 4 12:23:39 2016。
- 依赖关系解决。
- ========================================================================================================================================================================
- Package 架构 版本 仓库 大小
- ========================================================================================================================================================================
- 安装:
- java-1.8.0-openjdk x86_64 1:1.8.0.71-1.b15.fc23 updates 220 k
- ttmkfdir x86_64 3.0.9-46.fc23 fedora 54 k
- xorg-x11-fonts-Type1 noarch 7.5-15.fc23 fedora 522 k
-
- 事务概要
- ========================================================================================================================================================================
- 安装 3 Packages
-
- 总下载:795 k
- 安装大小:1.4 M
- 下载软件包:
- (1/3): ttmkfdir-3.0.9-46.fc23.x86_64.rpm 380 kB/s | 54 kB 00:00
- (2/3): java-1.8.0-openjdk-1.8.0.71-1.b15.fc23.x86_64.rpm 547 kB/s | 220 kB 00:00
- (3/3): xorg-x11-fonts-Type1-7.5-15.fc23.noarch.rpm 775 kB/s | 522 kB 00:00
- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- 总计 1.1 MB/s | 795 kB 00:00
- 运行事务检查
- 事务检查成功。
- 运行事务测试
- 事务测试成功。
- 运行事务
- 安装: ttmkfdir-3.0.9-46.fc23.x86_64 1/3
- 安装: xorg-x11-fonts-Type1-7.5-15.fc23.noarch 2/3
- 安装: java-1.8.0-openjdk-1:1.8.0.71-1.b15.fc23.x86_64 3/3
- 验证: java-1.8.0-openjdk-1:1.8.0.71-1.b15.fc23.x86_64 1/3
- 验证: xorg-x11-fonts-Type1-7.5-15.fc23.noarch 2/3
- 验证: ttmkfdir-3.0.9-46.fc23.x86_64 3/3
-
- 已安装:
- java-1.8.0-openjdk.x86_64 1:1.8.0.71-1.b15.fc23 ttmkfdir.x86_64 3.0.9-46.fc23 xorg-x11-fonts-Type1.noarch 7.5-15.fc23
-
- 完毕!
- [t@bjb0541 ~]$