APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Problems with the "Java Virtual Machine Launcher" post and replies

Return to the Problems with the "Java Virtual Machine Launcher" thread
Login to post to this thread

Problems with the "Java Virtual Machine Launcher"
Mathias Magdowski
1 Posts

I have just installed Tracker 5.0.6 on a Windows 10 machine (64 bit). When running the program, I get the following error message:

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

What can I do to solve this issue?

Attached File: JavaVirtualMachineLauncher.png

Replies to Problems with the "Java Virtual Machine Launcher"

Re: Problems with the "Java Virtual Machine Launcher" -
warner wanton
1 Posts

There is not enough virtual memory space requested by an application thus the application fails to start. This usually happens during the application startup phase. Applications reserve a large amount of virtual memory for the JVM heap space during the startup phase. Java on Windows uses an initial size of 16 Megabyte and a maximum of 64 Megabyte.

Most of the time you can fix this problem by uninstalling the Java runtime and then reinstalling it all over again. You can also try increasing the amount of system memory allocated to the Java virtual machine by setting an 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_OPTIONS
New Variable Value: -Xmx512M
Click OK

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book