IJ 4.5: CreateProcess Error

I dont know how, but i think i destroy my installation in a way that each
time I want to start ant, compile or run i get messages like

CreateProcess:
C:\Programme\java\bin\java -Xmx128m -Dfile.encoding=windows-1252 -classpath
C:\Programme\idea\lib\ant\lib\ant-antlr.jar;C:\Programme\idea\lib\ant\lib\an
t-apache-bsf.jar;C:\Programme\idea\lib\ant\lib\ant-apache-resolver.jar;C:\Pr
ogramme\idea\lib\ant\lib\ant-commons-logging.jar;C:\Programme\idea\lib\ant\l
ib\ant-commons-net.jar;C:\Programme\idea\lib\ant\lib\ant-icontract.jar;C:\Pr
ogramme\idea\lib\ant\lib\ant-jai.jar;C:\Programme\idea\lib\ant\lib\ant-jakar
ta-bcel.jar;C:\Programme\idea\lib\ant\lib\ant-jakarta-log4j.jar;C:\Programme
\idea\lib\ant\lib\ant-jakarta-oro.jar;C:\Programme\idea\lib\ant\lib\ant-jaka
rta-regexp.jar;C:\Programme\idea\lib\ant\lib\ant-javamail.jar;C:\Programme\i
dea\lib\ant\lib\ant-jdepend.jar;C:\Programme\idea\lib\ant\lib\ant-jmf.jar;C:
\Programme\idea\lib\ant\lib\ant-jsch.jar;C:\Programme\idea\lib\ant\lib\ant-j
unit.jar;C:\Programme\idea\lib\ant\lib\ant-launcher.jar;C:\Programme\idea\li
b\ant\lib\ant-netrexx.jar;C:\Programme\idea\lib\ant\lib\ant-nodeps.jar;C:\Pr
ogramme\idea\lib\ant\

any ideas?


4 comments
Comment actions Permalink

Hi,

Probably, command line is too long, as a woraround, please, try to
install idea to root folder

Roland Küstermann wrote:

I dont know how, but i think i destroy my installation in a way that each
time I want to start ant, compile or run i get messages like

CreateProcess:
C:\Programme\java\bin\java -Xmx128m -Dfile.encoding=windows-1252 -classpath
C:\Programme\idea\lib\ant\lib\ant-antlr.jar;C:\Programme\idea\lib\ant\lib\an
t-apache-bsf.jar;C:\Programme\idea\lib\ant\lib\ant-apache-resolver.jar;C:\Pr
ogramme\idea\lib\ant\lib\ant-commons-logging.jar;C:\Programme\idea\lib\ant\l
ib\ant-commons-net.jar;C:\Programme\idea\lib\ant\lib\ant-icontract.jar;C:\Pr
ogramme\idea\lib\ant\lib\ant-jai.jar;C:\Programme\idea\lib\ant\lib\ant-jakar
ta-bcel.jar;C:\Programme\idea\lib\ant\lib\ant-jakarta-log4j.jar;C:\Programme
\idea\lib\ant\lib\ant-jakarta-oro.jar;C:\Programme\idea\lib\ant\lib\ant-jaka
rta-regexp.jar;C:\Programme\idea\lib\ant\lib\ant-javamail.jar;C:\Programme\i
dea\lib\ant\lib\ant-jdepend.jar;C:\Programme\idea\lib\ant\lib\ant-jmf.jar;C:
\Programme\idea\lib\ant\lib\ant-jsch.jar;C:\Programme\idea\lib\ant\lib\ant-j
unit.jar;C:\Programme\idea\lib\ant\lib\ant-launcher.jar;C:\Programme\idea\li
b\ant\lib\ant-netrexx.jar;C:\Programme\idea\lib\ant\lib\ant-nodeps.jar;C:\Pr
ogramme\idea\lib\ant\

any ideas?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Maxim Mossienko wrote:

Hi,

Probably, command line is too long, as a woraround, please, try to
install idea to root folder


Could be true if running under Win95/98. Those OSes have very low limits for command line length.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Hello Maxim Shafirov (JetBrains),

Thanks for your answer. I solved the problem by reinstalling the used jdk. Somehow the JDK was corrupt.

Regards

Roland

Maxim Mossienko wrote:

>> Hi,
>>
>> Probably, command line is too long, as a woraround, please, try to
>> install idea to root folder
>>

Could be true if running under Win95/98. Those OSes have very low
limits for command line length.


0
Comment actions Permalink

I'm seeing the same problem when trying to compile. Initially I setup every module with its own output paths. But then changed all modules to use the same output path and still got the create process error. It happens late in the build of the modules (ie, only for highly dependent modules).

Does this mean that there is a practal limit the use of modules -- 100's of modules is out the question? So far I only have setup about 30. But our full system will be as many as 100. Is this an artifact of invoking the compiler via CreateProcess? Eclipse has no problems with 100's of projects (eclipse project == idea module). Maybe this is because their compilier incremental and built in?

0

Please sign in to leave a comment.