hello sir
I am facing the problem in executing the examples in grid sim
I am using Jdk1.5 and gridsim5.2 and working on windows XP
I have set the path variable to \jdk\bin path
and also set the classpath variable to \jars\gridsim.jar
I am getting the below errors when i am trying to compile the Example1.java
*C:\Program Files\GridSim\examples\gridsim>javac -cp %GridSim%\
xample01\Example1.java
example01\Example1.java:93: cannot find symbol
symbol : class GridResource
location: class gridsim.example01.Example1
public static GridResource createGridResource()
^
example01\Example1.java:60: cannot find symbol
symbol : variable GridSim
location: class gridsim.example01.Example1
GridSim.init(num_user, calendar, trace_flag, exclu
^
example01\Example1.java:69: cannot find symbol
symbol : class GridResource
location: class gridsim.example01.Example1
GridResource gridResource = createGridResource();
^
example01\Example1.java:101: cannot find symbol
symbol : class MachineList
location: class gridsim.example01.Example1
MachineList mList = new MachineList();
^
example01\Example1.java:101: cannot find symbol
symbol : class MachineList
location: class gridsim.example01.Example1
MachineList mList = new MachineList();
^
example01\Example1.java:111: cannot find symbol
symbol : class Machine
location: class gridsim.example01.Example1
mList.add( new Machine(0, 4, mipsRating)); // First
^
example01\Example1.java:120: cannot find symbol
symbol : class Machine
location: class gridsim.example01.Example1
mList.add( new Machine(1, 4, mipsRating)); // Second
^
example01\Example1.java:124: cannot find symbol
symbol : class Machine
location: class gridsim.example01.Example1
mList.add( new Machine(2, 2, mipsRating)); // Third
^
example01\Example1.java:137: cannot find symbol
symbol : class ResourceCharacteristics
location: class gridsim.example01.Example1
ResourceCharacteristics resConfig = new ResourceCharac
^
example01\Example1.java:137: cannot find symbol
symbol : class ResourceCharacteristics
location: class gridsim.example01.Example1
ResourceCharacteristics resConfig = new ResourceCharac
^
example01\Example1.java:138: cannot find symbol
symbol : variable ResourceCharacteristics
location: class gridsim.example01.Example1
arch, os, mList, ResourceCharacteristics.TIME_
^
example01\Example1.java:161: cannot find symbol
symbol : class GridResource
location: class gridsim.example01.Example1
GridResource gridRes = null;
^
example01\Example1.java:164: cannot find symbol
symbol : class GridResource
location: class gridsim.example01.Example1
gridRes = new GridResource(name, baud_rate, seed,
^
13 errors*
please help me
Thanks
Vinaya.C
|