This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Can not create java virtual machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can not create java virtual machine" Watch "Can not create java virtual machine" New topic
Author

Can not create java virtual machine

Anuj Abhishek
Greenhorn

Joined: Apr 05, 2010
Posts: 1
I am new to both Java and MacBook... When I try to run a java 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?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can not create java virtual machine
 
It's not a secret anymore!