B A created NETBEANS-5208:
-----------------------------

             Summary: Fix for java.io.IOException: CreateProcess error=206, The 
filename or extension is too long
                 Key: NETBEANS-5208
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5208
             Project: NetBeans
          Issue Type: Improvement
    Affects Versions: 12.2
         Environment: Windows 10, Java 11.0.1, Netbeans 12.2, maven
            Reporter: B A


There are projects that can generate "*java.io.IOException: CreateProcess 
error=206, The filename or extension is too long*" errors when trying to run 
the project.

IntelliJ fixes this with "shorten the command line" option in the 
"configuration" menu for the project.  It utilizes Java 9 (and greater) ability 
to use @argfiles instead of huge list of text as argument to java executables.

As far as I can tell, Netbeans does not have this ability, leaving you with 
options such as renaming or moving directories to make the arguments have fewer 
characters in them, which is a huge pain (and maybe not possible) for huge 
projects made by other people (like dl4j).

I ran into this when running classes out of the Deeplearning4j package.  I was 
following the standard instructions of how to install it and run an example 
class, and it generated the error=206 filename or extension too long.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to