Friday, 15 August 2014

java - cmd "Error: Could not find or load main class" error -


I have read through other questions and tried to googling solutions, but the solution I was looking at was for.

This program compiles and runs on Netbusiness, but only complies with CMD. I want to run it with CMD.

cmd window

I am not very good with Java - just starting and this is a uni project.

Program package contains chess . Go up one folder,

  c: \ user \ Nihir \ documents \ chess> CD. \ C: \ Users \ Nihir \ Documents & gt; Java-cp chess Program  

No comments:

Post a Comment