Skip to content

faq 111440853

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Error "could not find or load main class" when trying to run MatSim from the terminal

by Katherine York on 2017-08-21 13:14:26


I am new to MatSim and have downloaded the main distribution. When I try to run commands e.g.

java -cp path/to/matsim tutorial.programming.example08DemandGeneration.RunPPopulationGenerator

I get the error "could not find or load main class"

I have tried this with a few different commands and always get the same error. What might be causing this?


Comments: 1


Re: Error "could not find or load main class" when trying to run MatSim from the terminal

by Ecaterina McCormick on 2017-08-21 14:35:39

Do you have the libs folder in the same folder as the jar file?

Clone this wiki locally