項(xiàng)目場景:
問題描述
IDEA模塊通過Debug模式啟動(dòng),提示:
Cannot run program “D:\Develop\Java\bin\java.exe” (in directory “D:\tools\IDEA\IDEA_Projects\lead-news\heima-leadnews”): CreateProcess error=206, 文件名或擴(kuò)展名太長
解決方案:
1.點(diǎn)擊Run-Edit Configuration
2.點(diǎn)擊無法啟動(dòng)模塊旁邊的設(shè)置
3.點(diǎn)擊Modify option,勾選Shorten commend line文章來源:http://www.zghlxwxcb.cn/news/detail-791990.html
4.將Shorten commend line 設(shè)置為classpath file即可文章來源地址http://www.zghlxwxcb.cn/news/detail-791990.html
到了這里,關(guān)于IDEA無法啟動(dòng),提示文件名或擴(kuò)展名過長的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!