• Post Reply Bookmark Topic Watch Topic
  • New Topic

could not create the java virtual machine  RSS feed

 
Greenhorn
Posts: 10
MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hava installed sdk 1.4 on my machine , but when i check on cmd using "java -version" it responds " could not create java virtual machine " . can anyone tell me why this problem arises and how can i resolve it ?


Thanks in advance.
 
Ranch Hand
Posts: 312
Java MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes, javac and java may not be in the PATH.

Set up your PATH to allow the OS to find javac and java, this should resolve your problem.
 
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
purushottam singh wrote:I hava installed sdk 1.4 on my machine


Why are you installing a product that's been EOL since October 2008? If you must for some obscure reason do this, searching on "could not create java virtual machine" yields nearly 2 million results. At least some of them must be useful.

@Madhan: That error is totally unrelated to the PATH.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!