From: rashmita p. <ras...@gm...> - 2013-04-12 14:10:17
|
thanks a lot sir for the solution but i m working in my eclipse ide but still i m not able to solve my problem as i m new to myeclipse environment and i m not able to import the files of gridsim to my eclipse so i m getting these errors... Exception in thread "main" java.lang.Error: Unresolved compilation problems: GridletList cannot be resolved to a type The method createGridlet() from the type Example2 refers to the missing type GridletList ResourceUserList cannot be resolved to a type at gridsimpackage.Example2.main(Example2.java:37) so i just want to know how to resolve this. On Fri, Apr 12, 2013 at 8:28 AM, rashmita pradhan <ras...@gm...>wrote: > 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, > ^ > > waiting for ur reply... > > and can i use netbeans instead of apache ant server???? > > > > -- > with regards... > *Rashmita pradhan.* > -- with regards... *Rashmita pradhan.* |