当前位置:网站首页>IDEA2020.3.1不能打开(双击不能打开),但可以通过idea.bat打开。
IDEA2020.3.1不能打开(双击不能打开),但可以通过idea.bat打开。
2022-07-26 03:19:00 【清风亦思雨】
很有趣,IDEA这两天打不开了,通过任务管理器监视,发现IDEA的进程仅出现两秒就莫名消失,于是到IDEA的安装路径下,打开了idea.bat,黑窗口一出,竟然可以打开了。
我的idea.bat文件在F盘,路径如图:

接下来双击运行,如图:

没错,如图所示,IDEA运行起来了!!
于是就这样,我两天没管,近段还是想找原因,很多人都说是因为Visual C++的问题。不少人是因为系统的Visual C++出问题了,还有不小心删除的,还有卸载C++开发环境导致的。我知道我可能就是当时在Visual Studio 2019上面扩展了C/C++的开发环境,导致Visual C++的版本或者路径被更改,因为VS可能把旧的Visual C++删除了,自己又重装了,这是有可能的。
不管什么原因,十有八九都是Visual C++问题,各位可以试一下重装IDEA,或者下载Visual C++。
支持的最新Visual C++ 可再发行程序包下载 | Microsoft Docs
当然其他问题在idea.bat黑窗口会显示的,不过我能打开IDEA就行了,我就在桌面创建了快捷方式,链接到本地idea.bat,并重命名。

图标就在IDEA安装路径下搜索ico就能搜到IDEA的图标。
解决办法我没尝试,因为懒得重装一个IDEA了,并且还要重新配置一些东西,如Maven,注释规则等等。
———————————————————————————————————————————
历时五天,本来是不想解决的,但是我发现很多应用都出写莫名其妙的问题,而且提示vcruntime140.dll方面的问题,当然,这和IDEA无关,但是这却间接说明了是C++库问题(经百度,.dll问题也是C++错误)。
因此,忍无可忍,我前前后后装了C++2013(成功,但还是未解决问题),C++2015(失败,已存在,卸载C++2013未果)。结果在控制面板找到了:

上面那个是x64,64位系统用的,下面的是x86,32位系统用的(当时两个文件的安装日期一样,就是我在上文提到的我当时装C/C++环境的时候出现的),根据自身系统双击C++文件,

出现上图,点击修复,然后,你发现IDEA可以打开了!!
注:没有Visual C++ 2015的,下载链接:http://xlz.world/resources/file/vc_redist.x64.exe
http://xlz.world/resources/file/vc_redist.x64.exe
边栏推荐
- c语言指针基本知识要点总结(一)
- 论文精读-YOLOv1:You Only Look Once:Unified, Real-Time Object Detection
- 【无标题】
- URDF 语法详解
- Docker installs redis!!! (including detailed illustration of each step) actual combat
- 离线数据仓库从0到1-阶段二软件安装
- 【创建交互式 Dice Roller 应用】
- els 修改光标、修改图标
- PXE efficient batch network installation
- easyExcel设置行隐藏,解决setHidden(true)失效问题
猜你喜欢

Performance comparison of ext4, NTFS, XFS, Btrfs, ZFS, f2fs and ReiserFS

What are you interviewing for in a big factory? It's worth watching (I)

Summary of Huawei virtualization fusioncompute knowledge points

Why did Mr. Cao, a productionist in the field of high-end tea, choose Ruifeng L6 max?
![[STL]优先级队列priority_queue](/img/79/d13913cbb9d98f936a9501633b38bf.png)
[STL]优先级队列priority_queue

ENVI_ Idl: create HDF5 file and write data (take writing GeoTIFF file to HDF file as an example) + detailed parsing

Classic interview questions -- three characteristics of OOP language

【TensorFlow&PyTorch】图像数据增强API

B2B2C多商户系统功能丰富,极易二开

Intensive reading of the paper -yolov1:you only look once:unified, real time object detection
随机推荐
Classic interview questions -- three characteristics of OOP language
c语言指针基本知识要点总结(一)
There are a group of students in the class who have got the test results in Chinese and mathematics. Please select the students whose total score is the first
Remember SQL optimization once
NFT因无意义而美丽
YOLOv3: An Incremental Improvement
redis集群的三种方式
els 回调函数、退出消息
tf.truncated_normal()用法
Leetcode · daily question · sword finger offer | | 115. reconstruction sequence · topological sorting
Tf.constant usage
了解预加载和懒加载、学会缓动动画
leetcode-462.最少移动次数使数组元素相等
DDD landing is called an advanced
Easyexcel sets row hiding to solve the problem of sethidden (true) invalidation
实现一个方法,找出数组中的第k大和第m大的数字相加之和
ByteDance (Tiktok) software test monthly salary 23K post, technical two-sided interview questions are newly released
[noip2001 popularization group] the problem of maximum common divisor and minimum common multiple
Is the galaxy VIP account opened by qiniu safe?
Dataframe sorting: datetime format splitting; Delete a specific line; Group integration.