jshell-maven-plugin icon indicating copy to clipboard operation
jshell-maven-plugin copied to clipboard

Getting Filename or extension too long

Open souradeep07 opened this issue 4 years ago • 2 comments

Getting Launching JShell execution engine threw: Failed remote listen: java.io.IOException: Cannot run program "C:\Program Files\Java\jdk-12.0.2\bin\java": CreateProcess error=206, The filename or extension is too long @ com.sun.jdi.SocketListen (defaults: timeout=, port=, localAddress=) -- {timeout=timeout=5000, port=port=51825, localAddress=localAddress=127.0.0.1} for some of the maven project while running with mvn compile com.github.johnpoth:jshell-maven-plugin:1.3:run

souradeep07 avatar Sep 22 '20 07:09 souradeep07

Looks like a problem specific to Windows. Does a simple mvn clean install work ? If that works, maybe try shortening the directory path where the Maven project is located

johnpoth avatar Sep 22 '20 07:09 johnpoth

@johnpoth mvn clean install works fine. Tried shortening the path to D:\folder but that also didn't work. Any workarounds?

souradeep07 avatar Sep 22 '20 09:09 souradeep07