Deeplearning4j running in IntellijIDEA

Hi

I have created a deeplearning4j project in IntellijIDEA

When I try to run one of the main classes I get the following error message:-

“Cannot run program “C:\Program Files\Java\jdk-19.0.1+10\bin\java.exe” (in directory “C:\deeplearning4j-examples\dl4j-examples”): CreateProcess error=206, The filename or extension is too long”

Any ideas on what I need to do to correct this error ?

Bob M
Dunedin
New Zealand

@Bob_M that’s a windows specific issue that intellij had to write special code to work around. It technically doesn’t have anything to do with the project beyond any java project with a certain number of dependencies will run in to that on windows. Example issue on stackoverflow: testing - How to configure "Shorten command line" method for whole project in IntelliJ - Stack Overflow

You need to do a command shorten in your run configuration to work around this.

done…all running sweetly now

cheers

Bob M
Dunedin
New Zealand