A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Can not create java virtual machine
Joined: Apr 05, 2010
Apr 05, 2010 09:58:17
I am new to both Java and MacBook... When I try to run a
program from my command prompt I get this error message:
Could not create the Java virtual machine.
Can anyone please tell me how to trouble shoot it?
Joined: Jan 28, 2008
Apr 05, 2010 12:11:50
Welcome to Javaranch
It seems java installation is corrupted. do you have *rt.jar*(bootstrap) in your classpath?
<edit>post the entire stacktrace/error message</edit>
It is sorta covered in the
JavaRanch Style Guide
subject: Can not create java virtual machine
Garbage collection and var scope
How will I know how much memory can be used by my java application?
could not create the java virtual machine
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014