我是靠谱客的博主 舒服蚂蚁,最近开发中收集的这篇文章主要介绍idea安装之后不能启动的问题问题描述:原因分析:错误信息:解决方案:,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

问题描述:

新电脑安装 idea 安装成功之后,双击图标结果没有反应。

原因分析:

开始以为是没有安装 jdk 的原因,于是把 jdk 安装了一下,结果还是没有反应。然后想到了环境变量是不是配置有问题,于是查看环境变量,结果也没问题,运行java和javac都能够正常运行。网上搜索了很多方法,都不行,从C:UsersRicAppDataLocalJetBrainsIntelliJIdea2020.3log 路径下的日志文件中查看到有错误信息。

错误信息:

2021-04-10 10:33:03,157 [ 238] INFO - STDERR - Your JRE: 11.0.9.1+11-b1145.77 amd64 (JetBrains s.r.o.)
2021-04-10 10:33:03,157 [ 238] INFO - STDERR - D:studyJetBrainsIntelliJ IDEA 2020.3.2jbr
2021-04-10 10:33:03,169 [ 250] INFO - STDERR -
2021-04-10 10:33:03,169 [ 250] INFO - STDERR - Also, a UI exception occurred on an attempt to show the above message
2021-04-10 10:33:03,169 [ 250] INFO - STDERR - java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
2021-04-10 10:33:03,169 [ 250] INFO - STDERR - at java.desktop/java.awt.Component.(Component.java:626)
2021-04-10 10:33:03,169 [ 250] INFO - STDERR - at com.intellij.idea.Main.showMessage(Main.java:306)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at com.intellij.idea.Main.showMessage(Main.java:259)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at com.intellij.ide.plugins.StartupAbortedException.logAndExit(StartupAbortedException.java:86)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at com.intellij.ide.plugins.StartupAbortedException.processException(StartupAbortedException.java:34)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at com.intellij.idea.StartupUtil.lambda$prepareApp 3 ( S t a r t u p U t i l . j a v a : 193 ) 2021 − 04 − 1010 : 33 : 03 , 170 [ 251 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . C o m p l e t a b l e F u t u r e . u n i E x c e p t i o n a l l y ( C o m p l e t a b l e F u t u r e . j a v a : 986 ) 2021 − 04 − 1010 : 33 : 03 , 170 [ 251 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . C o m p l e t a b l e F u t u r e 3(StartupUtil.java:193) 2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986) 2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture 3(StartupUtil.java:193)2021041010:33:03,170[251]INFOSTDERRatjava.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)2021041010:33:03,170[251]INFOSTDERRatjava.base/java.util.concurrent.CompletableFutureUniExceptionally.tryFire(CompletableFuture.java:970)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
2021-04-10 10:33:03,170 [ 251] INFO - STDERR - at com.intellij.idea.StartupUtil.lambda$scheduleInitUi 9 ( S t a r t u p U t i l . j a v a : 373 ) 2021 − 04 − 1010 : 33 : 03 , 171 [ 252 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r . r u n W o r k e r ( T h r e a d P o o l E x e c u t o r . j a v a : 1128 ) 2021 − 04 − 1010 : 33 : 03 , 171 [ 252 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r 9(StartupUtil.java:373) 2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.util.concurrent.ThreadPoolExecutor 9(StartupUtil.java:373)2021041010:33:03,171[252]INFOSTDERRatjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)2021041010:33:03,171[252]INFOSTDERRatjava.base/java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:628)
2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1 1. r u n ( E x e c u t o r s . j a v a : 668 ) 2021 − 04 − 1010 : 33 : 03 , 171 [ 252 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . E x e c u t o r s 1.run(Executors.java:668) 2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.util.concurrent.Executors 1.run(Executors.java:668)2021041010:33:03,171[252]INFOSTDERRatjava.base/java.util.concurrent.ExecutorsPrivilegedThreadFactory$1 1. r u n ( E x e c u t o r s . j a v a : 665 ) 2021 − 04 − 1010 : 33 : 03 , 171 [ 252 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) 2021 − 04 − 1010 : 33 : 03 , 171 [ 252 ] I N F O − S T D E R R − a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . E x e c u t o r s 1.run(Executors.java:665) 2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.security.AccessController.doPrivileged(Native Method) 2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.util.concurrent.Executors 1.run(Executors.java:665)2021041010:33:03,171[252]INFOSTDERRatjava.base/java.security.AccessController.doPrivileged(NativeMethod)2021041010:33:03,171[252]INFOSTDERRatjava.base/java.util.concurrent.ExecutorsPrivilegedThreadFactory$1.run(Executors.java:665)
2021-04-10 10:33:03,171 [ 252] INFO - STDERR - at java.base/java.lang.Thread.run(Thread.java:834)
2021-04-10 10:33:03,172 [ 253] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2021-04-10 10:33:03,191 [ 272] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 188 ms
2021-04-10 10:33:03,194 [ 275] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2021-04-10 10:33:03,475 [ 556] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2021-04-10 10:33:31,844 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2021-04-10 10:33:31,846 [ 2] INFO - llij.ide.gdpr.EndUserAgreement - eua: C:UsersRicAppDataRoamingJetBrainsPrivacyPolicyeua.cached
2021-04-10 10:33:31,903 [ 59] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-203.7148.57, 26 Jan 2021 10:24)
2021-04-10 10:33:31,904 [ 60] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2021-04-10 10:33:31,915 [ 71] INFO - #com.intellij.idea.Main - JRE: 11.0.9.1+11-b1145.77 (JetBrains s.r.o.)
2021-04-10 10:33:31,915 [ 71] INFO - #com.intellij.idea.Main - JVM: 11.0.9.1+11-b1145.77 (OpenJDK 64-Bit Server VM)
2021-04-10 10:33:31,917 [ 73] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=512m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea -Dsun.io.useCanonCaches=false -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Djb.vmOptionsFile=D:studyJetBrainsIntelliJ IDEA 2020.3.2binidea64.exe.vmoptions -Djava.library.path=D:studyJetBrainsIntelliJ IDEA 2020.3.2jbrbin;D:studyJetBrainsIntelliJ IDEA 2020.3.2jbrbinserver -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IntelliJIdea2020.3 -XX:ErrorFile=C:UsersRicjava_error_in_idea64_%p.log -XX:HeapDumpPath=C:UsersRicjava_error_in_idea64.hprof
2021-04-10 10:33:31,917 [ 73] INFO - #com.intellij.idea.Main - library path: D:studyJetBrainsIntelliJ IDEA 2020.3.2jbrbin;D:studyJetBrainsIntelliJ IDEA 2020.3.2jbrbinserver
2021-04-10 10:33:31,918 [ 74] INFO - #com.intellij.idea.Main - boot library path: D:studyJetBrainsIntelliJ IDEA 2020.3.2jbrbin
2021-04-10 10:33:31,947 [ 103] INFO - #com.intellij.idea.Main - locale=zh_CN JNU=GBK file.encoding=GBK
idea.config.path=C:UsersRicAppDataRoamingJetBrainsIntelliJIdea2020.3
idea.system.path=C:UsersRicAppDataLocalJetBrainsIntelliJIdea2020.3
idea.plugins.path=C:UsersRicAppDataRoamingJetBrainsIntelliJIdea2020.3plugins
idea.log.path=C:UsersRicAppDataLocalJetBrainsIntelliJIdea2020.3log

解决方案:

无意中看到了一篇关于 缺少 Visual C++ 的文章,顿时想起来了,新的电脑,一些用来的驱动程序估计还没有安装,于是现在安装,驱动程序,重新启动 idea ,可以正常运行了。
Visual C++ 下载

最后

以上就是舒服蚂蚁为你收集整理的idea安装之后不能启动的问题问题描述:原因分析:错误信息:解决方案:的全部内容,希望文章能够帮你解决idea安装之后不能启动的问题问题描述:原因分析:错误信息:解决方案:所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(51)

评论列表共有 0 条评论

立即
投稿
返回
顶部