-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi,
I'm an experiencing an issue when starting REPL. It hangs at the make phase and then I have to restart intellij. Looking in the logs, that there was a problem running java due to the length of the classpath. This only seems to impact projects that have a lot of dependencies. For smaller projects I am not seeing the error due to the smaller amount of stuff on the classpath I'd imagine.
Any advice would be greatly appreciated. I'm currently unable to do development in Cursive due to this issue.
I'm running intellij 15.0 and the latest version of the cursive plug in (70)
Thanks,
Matt.
2015-11-10 18:35:21,067 [ 353596] INFO - figurations.GeneralCommandLine - Cannot run program "C:\Program Files\Java\jdk1.8.0_40\bin\java" (in directory "D:\derived-data\data-snapper"): CreateProcess error=206, The filename or extension is too long
java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_40\bin\java" (in directory "D:\derived-data\data-snapper"): CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:354)
at com.intellij.execution.process.OSProcessHandler.(OSProcessHandler.java:38)
at com.intellij.execution.process.DefaultJavaProcessHandler.(DefaultJavaProcessHandler.java:35)
at cursive.repl.process_runner$process_handler.invoke(process_runner.clj:81)
at cursive.repl.process_runner$start_nrepl_server$fn__12867.invoke(process_runner.clj:130)
at cursive.repl$create_new_repl$fn__11162.invoke(repl.clj:58)
at cursive.repl.nrepl$submit$fn__3757.invoke(nrepl.clj:122)
at clojure.lang.AFn.call(AFn.java:18)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 13 more
2015-11-10 18:35:21,069 [ 353598] INFO - cursive.repl.nrepl - Shutting down REPL executor
2015-11-10 18:35:21,318 [ 353847] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /D:/IntelliJ IDEA 15.0/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_40/lib/tools.jar;/D:/IntelliJ IDEA 15.0/lib/optimizedFileManager.jar;D:/IntelliJ IDEA 15.0/lib/ecj-4.4.jar