解决:Command line is too long. Shorten command line for xxx or also for Application default configurat

发布时间 2023-12-06 19:57:43作者: sunny123456

解决:Command line is too long. Shorten command line for xxx or also for Application default configurat

一·问题描述:

1.运行一个测试程序的时候,报错

在这里插入图片描述
在这里插入图片描述

二·问题原因:

运行主程序时出错:命令行太长。 缩短命令行或应用程序的默认配置

三·解决办法:

第一步:找到该程序的配置信息编辑处

在这里插入图片描述

第二步:找到修改选项的地方:“Modify options”,按照图中顺序选择

在这里插入图片描述
再选择增加“Shorten command line”选项
在这里插入图片描述

第三步:再选择具体的“Shorten command line”选项:classpath file或者JAR maniftest,两者二选其一都可以

在这里插入图片描述
在这里插入图片描述

四·测试结果:成功执行

在这里插入图片描述

原文链接:https://blog.csdn.net/weixin_48033662/article/details/125304881