From: rashmita p. <ras...@gm...> - 2013-04-12 14:13:44
|
---------- Forwarded message ---------- From: <gri...@li...> Date: Fri, Apr 12, 2013 at 7:40 PM Subject: Gridsim-users Digest, Vol 247, Issue 2 To: gri...@li... Send Gridsim-users mailing list submissions to gri...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gridsim-users or, via email, send a message with subject or body 'help' to gri...@li... You can reach the person managing the list at gri...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Gridsim-users digest..." Today's Topics: 1. Re: compilation error (rashmita pradhan) ---------------------------------------------------------------------- Message: 1 Date: Fri, 12 Apr 2013 19:40:07 +0530 From: rashmita pradhan <ras...@gm...> Subject: Re: [GridSim-users] compilation error To: gri...@li... Message-ID: <CAN_8dx1j3RFoKse=jrDgKtOgNdUg4hpY8D4EArK=aBc...@ma...> Content-Type: text/plain; charset="iso-8859-1" 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.* -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ------------------------------ _______________________________________________ Gridsim-users mailing list Gri...@li... https://lists.sourceforge.net/lists/listinfo/gridsim-users End of Gridsim-users Digest, Vol 247, Issue 2 ********************************************* -- with regards... *Rashmita pradhan.* |