Skip to main content

CloudSimSDN Compiling Issues

Hello, this is regarding issues such as Main class not found or Can not find symbol while executing or compiling. You just need to set proper path of your cloudsimsdn directory.
I stored CloudSimSDN folder downloaded from github  at location E:\ with the name cloud.
It's very much important to provide proper jar file's address as well as providing complete path of file that has to be inputed such as energy-physical.json. 

Set Java path variable value:
 C:\Program Files\Java\jdk1.8.0_121\bin

CLASSPATH value :
E:\cloud\jars\*; E:\cloud\src;


For Compiling
javac E:\cloud\src\org\cloudbus\cloudsim\sdn\example\SDNExample.java


For Executing
java org.cloudbus.cloudsim.sdn.example.SDNExample MFF E:\cloud\dataset-energy\energy-physical.json E:\cloud\dataset-energy\energy-virtual.json E:\cloud\dataset-energy\energy-workload.csv > results.out

These commmands are tested with Windows 10 and Latest java version. Please share your valuable comments and queries. 

Comments

  1. Hi could you please share with me how to track delay when two nodes communicate.

    ReplyDelete
  2. do you have any jar files of packages required for cloudsimsdn?

    ReplyDelete
  3. hey do u have any video for this
    the jar files are not being included its showing the error cannot find symbol for all classes
    plz help as soon as possible plz im working on a project.....

    ReplyDelete
    Replies
    1. Please specify complete path of jar files as mentioned. And include CLASSPATH variable.

      Delete
  4. hey, I've tried to run the SDNexample in Ubuntu but I've face with this error: error: cannot find symbol. i know that i should add the PATH variable into my /.bashrc with using PATH=/usr/local/JDK1.8.0_171/bin:$PATH
    export PATH , and i added the jars files into the folder of the cloudsimsdn.
    what is the problem? could you tell me?

    ReplyDelete
  5. CloudsimSDN needs just three jars file isn't it? Apache Commons Math
    JSON Simple (json-simple-1.1.1), Google Guava (guava-17.0)

    ReplyDelete
  6. please help me with execution of CloudSimSDN-
    error is -/Tomcat/apache-tomcat-8.5.31/endorsed is not supported. Endorsed standards and standalone APIs
    in modular form will be supported via the concept of upgradeable modules.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

    In mac ox. I know this is a tomcat error but tried following steps-
    reinstalling eclipse, Changed to java 8, made changes in eclipse.ini still not working

    ReplyDelete
    Replies
    1. Seems to be out of context for me as of now... will surely get back if I find any solution for it

      Delete
  7. On running the SDN Example, i'm getting the errors as

    java.io.FileNotFoundException: > (The filename, directory name, or volume label syntax is incorrect)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileInputStream.(Unknown Source)
    at java.io.FileReader.(Unknown Source)
    at org.cloudbus.cloudsim.sdn.example.WorkloadParser.startParsing(WorkloadParser.java:145)
    at org.cloudbus.cloudsim.sdn.example.WorkloadParser.(WorkloadParser.java:58)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.scheduleRequest(SDNBroker.java:100)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.applicationSubmitCompleted(SDNBroker.java:94)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.processEvent(SDNBroker.java:73)
    at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406)
    at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518)
    at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882)
    at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
    at org.cloudbus.cloudsim.sdn.example.SDNExample.main(SDNExample.java:164)
    java.lang.NullPointerException
    at org.cloudbus.cloudsim.sdn.example.WorkloadParser.startParsing(WorkloadParser.java:154)
    at org.cloudbus.cloudsim.sdn.example.WorkloadParser.(WorkloadParser.java:58)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.scheduleRequest(SDNBroker.java:100)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.applicationSubmitCompleted(SDNBroker.java:94)
    at org.cloudbus.cloudsim.sdn.example.SDNBroker.processEvent(SDNBroker.java:73)
    at org.cloudbus.cloudsim.core.SimEntity.run(SimEntity.java:406)
    at org.cloudbus.cloudsim.core.CloudSim.runClockTick(CloudSim.java:518)
    at org.cloudbus.cloudsim.core.CloudSim.run(CloudSim.java:882)
    at org.cloudbus.cloudsim.core.CloudSim.startSimulation(CloudSim.java:188)
    at org.cloudbus.cloudsim.sdn.example.SDNExample.main(SDNExample.java:164)

    Pl help
    Thanks

    ReplyDelete
  8. Can you provide steps to execute SimpleExampleSelectLinkBandwidth example?

    ReplyDelete

Post a Comment

Popular posts from this blog

Parallel Computing

Parallel Computing- Its all about parallel thinking. Recent technologies, Various discussions, interesting facts about Parallel Computing & high-performance computing will be posted here very soon. ⇋  Stay Tuned Parallely ⇋ PDS Quiz 1 PDS_Quiz 2 PDS_Quiz3 PDS_Quiz 4 PDS_Quiz 5 Course Exit Survey 2019

MACRO DATABASE

Great to know that you are curious about the databases used in the MACRO Pass1 and Pass2. Here we Go.!!!!! Pass 1: Databases Source Program Output of Source Program to be fed to Pass 2 Macro Definition Table (MDT)- Stores Macro Definitions Macro Name Table(MNT) - Stores the Macro Name that are defined in the Program Macro Definition Table Counter (MDTC) - Indicates next available entry in MDT Macro Name Table Counter (MNTC) - Indicates next available entry in MNT Argument List Array (ALA)-  Stores the index markers for dummy arguments Pass 2: Databases Input Source Program Expanded Source Code i.e  Output for Assembler  Macro Definition Table (MDT)- Created and Maintained by Pass 1 Macro Name Table(MNT) -  Created and Maintained by Pass 1  Macro Definition Table Pointer (MDTP) - Indicate next line used in Expansion. Arguments List Arrays (ALA)- Substitutes arguments for index markers. Example       ...