Installation problem (Java Virtual Machine)

K Huotari shared this question 7 years ago
Answered

I try to install GeoGebra. My OS is XP and I have Java 7 too. After beginning installation comes


Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.


I have uninstalled Java and installed it again. I have also uninstalled GeoGebra because the error. When I try install GeoGebra again, it fails with this error.


Can somebody help me, please?

Ilmoita tämä viesti

Comments (8)

photo
1

Hi, have you seen this post ?

Try

What type of java do you have 7_? 32 bit ? 64 bit ?

Did you install by webstart ? installer ? portable ?

Other java programs work ?


Michel

photo
1

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.


The latest installer should fix this problem:

http://www.geogebra.org/installers

photo
1

I used a new installer, but it still doesn't work. :(

photo
1

Doesn't work either.

"Could not create the Java virtual machine."

(Though the next line does not appear with this one.)


I've had this problem for awhile now, I allready tried reïnstalling Java. I even shut down my virusscanner to try if that helped. I fear it's a settings thing, but I don't have a clue where I should look for it...

photo
1

I suddenly get the "Could not create the virtual machine" error after trying to start GG4.2

I reinstalled Java, I installed the latest version, I tried the webstart version, nothing helps.


Fortunately, Good old Geogebra 3.2 still works fine! :confused:

photo
1

I tried the newest installers. No result. I de-installed and installed Java and GG4.2. No effect.

"Could not create the Java virual machine"


I could start GG4.2 with the commandline C:\Program Files\GeoGebra 4.2\geogebra.jar"

I changed the quicklaunch shortcut from "C:\Program Files\GeoGebra 4.2\geogebra.exe" into "C:\Program Files\GeoGebra 4.2\geogebra.jar"

The .exe results in the error mentioned, the .jar command works fine.

Strange. :anguished:

photo
1

Most Java tools will now be able to find your Java installation either by using the JAVA_HOME environment variable or by looking for java.exe / javaw.exe in the Path environment variable.

Open the Control Panel

Go to System

Go to Advanced Systems Properties

Then Environment Variables

In System Variables, click Add

New Variable Name: _JAVA 1_OPTIONS

New Variable Value: -Xmx512M

Click OK

© 2020 International GeoGebra Institute