---
title: "eclipse classpath太长的问题"
author: "dikar"
date: "2013-07-19T21:53:36Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-classpath"
draft: false
lastmod: "2013-07-19T22:06:23Z"
id: 1910666
url: "https://dikar.iteye.com/blog/1910666"
---

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
```