From: Mahesh K. <mah...@gm...> - 2013-04-15 04:53:04
|
Use netbeans & add .jar files of gridsim in Library of Netbeans. On Fri, Apr 12, 2013 at 8:28 AM, < gri...@li...> wrote: > 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. compilation error (rashmita pradhan) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 12 Apr 2013 08:28:45 +0530 > From: rashmita pradhan <ras...@gm...> > Subject: [GridSim-users] compilation error > To: gri...@li... > Message-ID: > < > CAN...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > 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.* > -------------- 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 1 > ********************************************* > -- MAHESH KHANDKE A teacher teaches a lesson first and then takes the exam. Life takes the exam first, and then teaches a lesson... |