主要是在windows环境下java启动命令太长导致的,在linux和mac环境下则无此问题。
IDEA在启动配置中选择shorten command line中的一项即可。
建议使用classpath file方法
CreateProcess error=206, 文件名或扩展名太长
原文:https://www.cnblogs.com/turnonthsky/p/12467137.html