Error running ‘Bootstrap‘:Cannot run program

When starting IDEA, it prompts:
Error running'Bootstrap': Cannot run program “D:\idea\IntelliJ IDEA 2019.2.1\jbr\bin\java.exe” (in directory “D:\xm\contract”): CreateProcess error= 206, The file name or extension is too long
Insert picture description here

Find the .idea/workspace.xml file
in the tag:

<component name="PropertiesComponent">

Add to:

<property name="dynamic.classpath" value="true" />

Insert picture description here

Restart idea again:
Insert picture description here
successful startup!
Welcome to the guidance of the great god, you can leave a message to communicate!

======================
My original article, reprinted to indicate the discrepancy!

=================

Guess you like

Origin blog.csdn.net/dayonglove2018/article/details/107176141