eclipse classpath太长的问题

https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193

[patch] Launching command line exceeds the process creation command limit on Windows

 

2种解决方案

1:更换内部相关类

- close Eclipse
- rename the *.jar to *.zip
- open the zip file and copy the 4 class files from the attachment to org\eclipse\jdt\internal\launching (replace existing files)
- go to META-INF in the zip file and delete all files except MANIFEST.MF
- extract MANIFEST.MF to your disk and edit it with a text editor
- remove everything starting from the first "NAME:" entry
- make sure you leave *two* (2) line break characters at the end of the file!
- save the MANIFEST.MF and copy it back into the zip file
- rename the *.zip back to *.jar
- enjoy

 

2:使用新的cl

 

Created attachment 202740 [details]
use this class laoder at runtime in your launch configuration. Use it by adding the following JVM argument in your launch settings:
-Djava.system.class.loader=EclipseProjectClassLoader

你可能感兴趣的:(classpath)