Helping Guide & Step by Step installation of Cloud Sim simulation
1- Commons-math3-3.6.1.jar
https://archive.apache.org/dist/commons/math/binaries/commons-math3-3.6.1-bin.zip
2- Eclipse IDE for Java Developers
https://www.eclipse.org/downloads/packages/release/2023-06/r
3- JDK Development Kit 17.0.7 downloads
https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.exe
4- Cloudsim-3.0.3
https://github.com/Cloudslab/cloudsim/releases/tag/cloudsim-3.0.3
For more details, watch video from below link.
https://www.youtube.com/watch?v=OZRbkkEuQMI
Create Folder with your VU ID & Extract all these files in it.
Run eclipse.exe from the extracted eclipse-java-2023.zip folder in your VU ID folder
From File Menu, Create New Java Project
Project Name must be your VU ID
Uncheck default location and browse the location where cloudsim-3.0.3 folder extracted
If you find this error, then delete Cloudsim-3.0.3 folder in you VU ID folder and extract Cloudsim-
3.0.3.zip again in your VU ID folder.
Project Name must be your VU ID
Uncheck Use default location.
Brown to the location where Cloudsim-3.0.3 folder extracted.
Continue Next.
Do not Click on Finish
Make sure JavaSE-17 is selected.
On Library Tab, select Add External JARs
Select Commons-math3-3.6.1.jar file located in your VU ID folder.
Righ Click on your Java Project (with your your VU ID name ) and select properties
Select Java Compiler
Enable Java Project Specific setting.
In Compiler Compliance level select 17
Apply and close.
Now Run your Project
Select Ok
1. Modify Example 1 i.e., CloudSimExample1.java as below
2. Name datacenter as your student ID e.g., if your student ID is BC11223344 then your
datacenter name should be “Datacenter_BC11223344”
3. Set the Cloudlet length property as to the digits in your student ID e.g., if your student ID is
BC11223344 then length property of Cloudlet should be equal to 11223344
4. Next, run the Simulation Example 1 and take the output snapshot as below.