Scala shell problem: Argument list too long

When I try to run the Scala Shell on OSX I get a red bubble from the Run Console tab with the following message:

   ! Error running Scala Console:
    Cannot run program      "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java":      error=7, Argument list too long     

I am using a build from the git repostory downloaded on 24Febuary, and I think the latest Scala. In any case I have been having this problem for a while now.

Where should I look to find out what the exact nature of the problem is? Any ideas what the solution might be?

0
2 comments
Avatar
Permanently deleted user

can't really help, but if you google for "error=7, Argument list too long" you'll find that this is actually an os problem or one of the implementation of java.lang.UNIXProcess. e.g. http://forums.atlassian.com/message.jspa?messageID=257260930

maybe you can reduce your arg list somehow?

0

It would help if I could find out what the argument list was... Perhaps I'll need to debug IntelliJ to find that out...

0

Please sign in to leave a comment.