I wanted to run SDNExample of CloudSimSDN with CMD. First I downloaded cloudsim.4.0
then I put it in the directory cloudsimsdn-2.0.1-beta. Then I installed mvn with code mvn clean install
in cmd.
mvn with some warning was run. When I enter
java -cp cloudsimsdn-1.0-with-dependencies.jar org.cloudbus.cloudsim.sdn.example.SDNExample MFF ../dataset-energy/energy-physical.json ../dataset-energy/energy-virtual.json ../dataset-energy/energy-workload.csv > results.out
ERROR:could not find or load main class org.cloudbus.cloudsim.sdn.example.SDNExample
According to the instructions on the github site https://github.com/Cloudslab/cloudsimsdn/tree/v2.0.1-beta