From: Anthony S. <an...@cs...> - 2008-03-10 08:44:57
|
See the readme file: http://www.gridbus.org/gridsim/doc/README.txt Installation and Running GridSim Toolkit ---------------------------------------- There is no special program to install GridSim. You just need to unzip the GridSim file to install. If you want to remove GridSim, then remove the whole $GRIDSIM directory. NOTE: You do not need to compile GridSim source code. The JAR file is provided to compile and to run GridSim applications. Description of the following jar files: * gridsim.jar -- contains both GridSim and SimJava v2.0 class files * simjava2.jar -- contains SimJava v2.0 class files only To compile and run GridSim applications, do the following step: 1) Go the directory where the GridSim's Example1 reside In Unix or Linux: cd $GRIDSIM/examples/Example01 In Windows: cd %GRIDSIM%\examples\Example01 2) Compile the Java source file In Unix or Linux: javac -classpath $GRIDSIM/jars/gridsim.jar:. Example1.java In Windows: javac -classpath %GRIDSIM%\jars\gridsim.jar;. Example1.java 3) Running the Java class file In Unix or Linux: java -classpath $GRIDSIM/jars/gridsim.jar:. Example1 In Windows: java -classpath %GRIDSIM%\jars\gridsim.jar;. Example1 NOTE: * $GRIDSIM or %GRIDSIM% is the location of the GridSim Toolkit package. * If you are using Java IDEs, such as Eclipse, JBuilder and JCreator, their instructions (with screenshots) are found on the GridSim website. * Running GridSim of this version requires a lot of memory since there are many objects to be created. Therefore, it is recommended to have at least 512MB RAM or increase JVM heap size when running Java for large simulation experiments. For example: java -Xmx300m -classpath $GRIDSIM/jars/gridsim.jar:. Example1 (max. heap size is 300MB). ---------------------------------------- Anthony Sulistio PhD student Room 5.18a, ICT Building 111 Barry St Department of Computer Science and Software Engineering The University of Melbourne Victoria 3053, Australia Website: http://www.csse.unimelb.edu.au/~anthony ---------------------------------------- On Mon, 10 Mar 2008, Raja Rajagopal wrote: > hello sir, > Now i am using Simjava.Can i know the information about How i ll install(sim java) in windows mode and if its any necessary for gridsimulator.please answer soon. > > > --------------------------------- > Never miss a thing. Make Yahoo your homepage. |