[Solved] Project runs in eclipse but not in command line: File not found exception [duplicate]


I assume you are starting the program from the Builds directory – not the project root. Therefore the path src\data\pokemon.csv can’t be resolved. You have to either copy the jar to the project root or start the program from the project root dir with java -jar Builds\v1.0.jar

2

solved Project runs in eclipse but not in command line: File not found exception [duplicate]