jshell-maven-plugin
jshell-maven-plugin copied to clipboard
Getting Filename or extension too long
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
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 mvn clean install
works fine. Tried shortening the path to D:\folder
but that also didn't work. Any workarounds?