Relative Content

Tag Archive for javacmdclassnotfoundexception

Error: Could not find or load main class simulator.launcher.Main Caused by: java.lang.ClassNotFoundException: simulator.launcher.Main

I have created a project in Eclipse, and I want to run it using cmd, so I have copied the .bin folder to my desktop and from that address I am trying to run it, my project uses libraries, specifically the ones I put in the screenshot, but I can’t get it to run via CMD (Try “java -classpath tp.jar:/lib/.jar:lib/json.jar:tp.jar:/lib/.jar:lib/commons-cli-1.4. jar: simulator.launcher.Main”), but I always get the same error, could someone help me? I have attached the paths where the important files are located. Thank you.Main.classlibraries