thanks you very much i can confirm its works fine on Linux distro. i will maybe try the workaround proposed in the record later for Windows
Le 21/01/2021 à 14:00, Juan Algaba a écrit : > This was when I was using Windows 7 and an Ant project, but maybe it > can give you a clue: > A long time ago I had this issue after surpassing a certain number of > dependencies, but the issue only happened when meeting the following 2 > conditions: > * Running on Windows > * The project compiled using a JVM different from the one netbeans > runs on (Project Properties -> Build -> compile: "JVM X (Default)") > Apparently when not using the default JVM netbeans "forks" the VM > through a CMD call and there is a length limit on that determined by > the OS. > > https://netbeans.org/bugzilla/show_bug.cgi?id=200790 > > Hope it helps. > > -Juan Algaba > > On Wed, Jan 20, 2021 at 3:47 AM Bilu Al <albi...@gmail.com> wrote: >> Hello, Maven project run is failing with this error: >> java.io.IOException: Cannot run program "C:\Program Files (x86)\Common >> Files\Oracle\Java\javapath\java.exe" (in directory >> "C:\Users\test\Documents\NetBeansProjects\deeplearning4j-examples\dl4j-examples"): >> CreateProcess error=206, The filename or extension is too long >> >> Any clue on how to solve it, maybe a propertie option to bypass the filename >> length? >> Same run works in vscode, IntelliJ >> >> Details to reproduce: >> File:https://github.com/eclipse/deeplearning4j-examples/blob/master/dl4j-examples/src/main/java/org/deeplearning4j/examples/quickstart/modeling/feedforward/classification/IrisClassifier.java >> Env: >> >> Product Version: Apache NetBeans IDE 12.0 >> >> Updates: Updates available >> >> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461 >> >> Runtime: OpenJDK Runtime Environment 14+36-1461 >> >> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) >> >> User directory: C:\Users\test\AppData\Roaming\NetBeans\12.0 >> >> Cache directory: C:\Users\test\AppData\Local\NetBeans\Cache\12.0