Closed GoogleCodeExporter closed 9 years ago
Good afternoon Jeetra,
Your JAVA_HOME environment variable appears to be pointing to a JRE (Java
Runtime Environment) instead of the JDK (Java Development Kit, which includes
the javac compiler).
Ensuring you have a JDK installed and changing JAVA_HOME to point to the
correct path will resolve this issue for you.
The following link tells you a little about how to update the path:
http://docs.oracle.com/javase/tutorial/essential/environment/paths.html
I've not used OpenJDK but a few forum threads I've just looked at suggest if
you change the path to "/usr/lib/jvm/java-6-openjdk" (removing the trailing
"/jre"), that might fix it for you. If you already compile Java files within
your IDE (Eclipse, NetBeans, etc), you could check the configuration there to
find the path to your compiler.
Sorry I can't be any more specific without knowing more about the environment
you're trying to run CloudSim in (operating system, etc).
Post back if you have difficulty updating the classpath and I'll do all I can
to help.
All the best,
Matt Forshaw
Original comment by matthewf...@gmail.com
on 4 Mar 2012 at 6:41
Original comment by rodrigo.calheiros
on 3 Aug 2012 at 6:18
Original issue reported on code.google.com by
jeetra...@gmail.com
on 4 Mar 2012 at 1:04