Go Down

Topic: "Could not create java virtual machine" (Read 2984 times) previous topic - next topic

grandllama

I am running windows 7, have got the latest java, and have the latest arduino ide. Everytime i try to run arduino.exe the start panel appears for a second and then i get the error: Could not create the java virtual machine. I have tried with my old arduino software version, 0022, but it doesn't work either. Anyone got any suggestions?

Nick Gammon

Reboot the PC? Try applying operating system updates? See if you can download a later version of Java.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

grandllama

Tried all of them, and its still not working :| iv been trying to do this all day...

Nick Gammon

Where did you put the download? Knowing Windows it is probably trying to create a file and failing. Unzip the Arduino installation file into (My) Documents and see if it works from there.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

grandllama

I just unzipped the whole arduino-1.0 folder onto my desktop

Nick Gammon

It works for me from the desktop. What version of Java do you have? I have:

Code: [Select]
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode)
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Nick Gammon

Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

grandllama

I have java 1.6.0_31-b05. I have tried running as admin before but still nothing

kd7eir

Go here http://java.com/en/download/testjava.jsp and make sure that Java is functioning on your system.

grandllama

Ah this brings up another interesting problem, although not at all related to arduino. I use mozilla aurora, the beta version of firefox. Whenever i go on the java website and it tries to detect anything about my java, the whole browser crashes as soon as i try to go onto a new page, aswell as it not being able to detect anything. I had convinced myself that it was to do with me using aurora instead of firefox, but could this have anything to do with my arduino problem?

Nick Gammon

Quote
Could not create java virtual machine


...


Whenever i go on the java website and it tries to detect anything about my java, the whole browser crashes ... could this have anything to do with my arduino problem?


Yes I would say so.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

grandllama

Haha i know i know, but java works for everything else including internet explorer, and that still doesnt solve my problem.

grandllama

Anyway I have no idea how to fix that problem either, I have looked all over the internet and have found nothing.

Nick Gammon

I would get Java working in Firefox as a first point. Maybe download the normal one, not the beta one.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up