xyzf12 / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 0 forks source link

cloud not find main methos #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I have created a new project and import the cloudsim3.0 jar file. 
and create a java class under this project then copy and paste the
first example is example list delivered with cloudsim package.

2.everything seems fine in my eclipse (no error at all). 
when I try to run it gives error: Cloud not fine main: the program will exit.

What is the expected output? What do you see instead?
the program is expected to run correctly. 

What version of the product are you using? On what operating system?
Windows 7

Please provide any additional information below.

java is in my class path and typing "java" on my command prompt works by 
responding a list of java commands. (so that should not be a problem)

I just run one simple example, so that I can understand and use.

help please. 

Original issue reported on code.google.com by leta2...@gmail.com on 25 Apr 2012 at 10:20

GoogleCodeExporter commented 9 years ago
I got answer to my question after all: 

Download both "cloudsim-3.0" package and "flanagan.jar" respectively from: 

http://www.cloudbus.org/cloudsim/
and
http://www.ee.ucl.ac.uk/~mflanaga/java/

copy flanaga.jar to "jar folder" in unpacked cloudsim-3.0 package, 
and compile the cloudsim-3.0.jar file using ant script. (the compile will fail 
if flanaga.jar is not copied to the "jar folder")

Now, import both the compiled cloudsim-3.0.jar and flanaga.jar into your 
current working project library list. 

everything should be fine.
It works for me. 

Original comment by leta2...@gmail.com on 16 May 2012 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by rodrigo.calheiros on 3 Aug 2012 at 6:19

GoogleCodeExporter commented 9 years ago
Hello it runs on eclipse but when i try to run it on cmd, it gets compiled but 
not run

Original comment by atul.b...@gmail.com on 28 Nov 2012 at 4:49