Nicolai Ehemann created NETBEANS-1599: -----------------------------------------
Summary: Java projects with long classpath does not run (debug) Key: NETBEANS-1599 URL: https://issues.apache.org/jira/browse/NETBEANS-1599 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 9.0, 8.2 Environment: Windows 10 x64 Java SDK 1.8.0_181 Maven 3.5.2 Reporter: Nicolai Ehemann This is a re-report of [https://netbeans.org/bugzilla/show_bug.cgi?id=200790,] which is still valid for netbeans 9: As soon as a (maven in my case, not sure about others) project has too many dependencies, it can no longer be run from netbeans. Error message is like {noformat} Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project [...]: Command execution failed.: Cannot run program "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" (in directory "C:\[...]\"): CreateProcess error=206, Der Dateiname oder die Erweiterung ist zu lang -> [Help 1]{noformat} (Meaning of the german Message "Der Dateiname oder die Erweiterung ist zu lang" is "Filename or extension is too long") For this test, the project directory was located directly on the C: drive. The issue seems to be that every dependency is given separately to the command, where windows (Windows 10 in this case) has a command line limit of 2^15 characters. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists