/** * Author: Anthony Sulistio * Date: April 2003 * $Id: README.txt,v 1.4 2004/05/06 02:51:31 anthony Exp $ */ Welcome to the 2nd Example of how to use GridSim package. To compile the example source code: In Unix/Linux: javac -classpath $GRIDSIM/jars/gridsim.jar:. Example2.java In Windows: javac -classpath %GRIDSIM%\jars\gridsim.jar;. Example2.java where $GRIDSIM or %GRIDSIM% is the location of the gridsimtoolkit package. To run the class file: In Unix/Linux: java -classpath $GRIDSIM/jars/gridsim.jar:. Example2 In Windows: java -classpath %GRIDSIM%\jars\gridsim.jar;. Example2 When running this example, it will print out a list of Gridlets and their properties. This example shows how to create Gridlets, hence nothing to simulate yet. This example doesn't need to initialize GridSim and SimJava since creating Gridlets are independent from running the simulation.