From: ye h. <hua...@gm...> - 2009-02-05 08:27:50
|
Hi, The Alea is using a specific simjava2.jar, the following is the information from Dalibor in a previous mail session. Hope it helps! --- --- --- > In this context, which version Alea is using? simjava2? or a > completely new version? If it's a completely new version, may i know > what's difference from simjava2, and the purpose? > it is Simjava2. > BTW, I still have a compile problem while using the simjava provided > via Alea. In class "ExperimentSetup", it prompts a compile error at > line 111, "Sim_system.setInComplete(true);", which is not found from > simjava. Why is that? > are you sure that you use the modified one? The only difference between original one and the new one provided with the Alea is that the new one has this method "setInComplete". How do you run the simulation? Via command line or through some IDE? If you add gridsim.jar first, you will "automatically" get the wrong simjava.jar (e.g. in Netbeans IDE). So you have to manually remove this one and add the new one provided with Alea. In Netbeans, you can find it in the "libraries folder" in the project folder. See this picture: http://www.fi.muni.cz/~xklusac/alea/images/netbeans.jpg If you use command line, than you have to be careful when making imports - probably add "import modifiedsimjava.jar" at the beginning of the ExperimentSetup.java class. --- --- --- Regards ye On 5 Feb, 2009, at 6:09 AM, I-Sha Fatin wrote: > Hi there, > > how can i use the <B>xklusac.environment.Scheduler</B> ? i've tries > to import in the class, ( import > gridsim.xklusac.environment.Scheduler;) but it's not works. > do i need to change anything in the simjava2.jar file to use the > class? > > thanks > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with > Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills > and code to > build responsive, highly engaging applications that combine the > power of local > resources and data with the reach of the web. Download the Adobe AIR > SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com_______________________________________________ > Gridsim-users mailing list > Gri...@li... > https://lists.sourceforge.net/lists/listinfo/gridsim-users -- Ye Huang, Department of Informatics University of Fribourg / Pérolles 2 - Bld de Pérolles 90 1700 Fribourg, Switzerland e-mail: ye....@he..., ye....@un... http://diuf.unifr.ch/people/huangy/ Office: +41 26 429 65 95 |