0

I have a Java gradle project that I made with Netbeans 11.
I am using Windows 10 Pro.
In the build\distributions folder I have a bat file and if I try running it I get a "The input line is too long" error.
There is no jar file in the folder. There is just a file with no extension.
I think it has to do with the classpath being too long, but I have no idea how to make it shorter. I can run it from netbeans just fine.
Also the output distribution size is almost 1GB in size.
Is there anyway I can make it smaller or at least make the error go away?
The optimal thing would be to make an exe out of the whole thing if that was possible, but even a running jar or bat would be ok.

Para
  • 2,022
  • 5
  • 34
  • 73

0 Answers0