cloudsim
cloudsim copied to clipboard
Jar version
Thank you for your work in maintaining cloudsim, but could you please provide a jar version for cloudsim-6.0?
Well this is a very late response, sorry about that! Anyway, that's how I was able to build CloudSim 6.0
- Download release: https://github.com/Cloudslab/cloudsim/releases/tag/6.0-pre
- Download Java 17 (e.g.
apt install openjdk-17-jdk openjdk-17-jre) - Locate the installation path (e.g.
update-java-alternatives --list) - Create
gradle.propertiesfile in cloudsim-6.0-pre root folder and write:org.gradle.java.home=*paste installation path here!!!* - Init gradle (e.g.
./gradlew init) - Build CloudSim (e.g.
./gradlew build) - The result are the following jar files:
./modules/cloudsim/build/libs/cloudsim-5.1.jar./modules/cloudsim-examples/build/libs/cloudsim-examples-5.1.jar(Yes it's 5.1, I believe they forgot to update the cloudsim version inbuildSrc/src/main/groovy/org.cloudbus.cloudsim.java-conventions.gradle) - Follow the guide at
documentation/src/main/resources/examples.txtto execute an example - Make sure you are actually using Java 17 when executing the jars!! Here is a guide to switch between (installed) java alternatives: https://askubuntu.com/questions/740757/switch-between-multiple-java-versions