Skip to content
VirtualLP Virtual Learning Platform
CloudSim P04 beginner

Install CloudSim in Eclipse and run your first simulation

Verify the JDK, create a Java project, add the CloudSim JARs to the build path, avoid the module-info trap, then copy and run CloudSimExample1.

What you'll do

  • Verify Java JDK installation
  • Create a Java project in Eclipse
  • Configure the build path with external JARs
  • Run a CloudSim example and read its output

Lab tasks

  1. 1 Verify the JDK with java -version
  2. 2 Check the compiler with javac -version
  3. 3 Create Java project CloudSimLab
  4. 4 Make sure the project has no module-info.java
  5. 5 Add the CloudSim JARs to the build path
  6. 6 Open CloudSimExample1 from the examples JAR
  7. 7 Create class CloudSimExample1
  8. 8 Paste the example code, save and run it