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

Macro Pass 1 and Pass 2

Hello, I presumed that you are aware of various databases needed for the Pass 1 &2. Please provide a following with the input file macroinput.txt I request you to post the screenshot of the output. import java.util.*; import java.io.*; class MntTuple { String name; int index; MntTuple(String s, int i) { name = s; index = i; } public String toString() { return("[" + name + ", " + index + "]"); } } class MacroProcessor { static List<MntTuple> mnt; static List<String> mdt; static int mntc; static int mdtc; static int mdtp; static BufferedReader input; static List<List <String>> ala; static Map<String, Integer> ala_macro_binding; public static void main(String args[]) throws Exception { initializeTables(); System.out.println("===== PASS 1 =====\n"); pass1(); System.out.println("\n===== PASS 2 =====\n"); pass2(); } static void pas...

SC ANN Course Material

Hello Enthusiasts, Checkout the following course material. It will be regularly updated. Quiz 1 Quiz 2 Upload the Assignment 1 Upload the Assignment 2 MSc_IT_All_SC_ANN_Syllabus_2019_2020 MSc_IT_All_Sub_Syllabus_2019_2020 Github Notes PPTs  Topic Link Introduction to Fuzzy Logic 1 Intro_to_Fuzzy Fuzzy Rules 2 Fuzzy Rules Defuzzification 3 Defuzzification NN_Introduction 4 NN_Introduction NN_Architecture 5 NN_Architecture NN_Training 6 NN_Training References: [1]  https://cse.iitkgp.ac.in/~dsamanta/courses/sca/index.html [2] NPTEL YouTube Channel-       https://www.youtube.com/channel/UC0FyHh2HW62lSCYeRYfNqww As complexity rises, precise statements lose meaning and meaningful statements lose precision -  Lotfi A Zadeh