Question

I deploy an application via Java Webstart (using Oracle JDK/JRE 1.7 + Java FX 2).
It works fine for most users, however one of them sometimes (not always) gets this error when launching the application:

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

Is there a way to get more information about what caused the problem (like a log)?
Any ideas of what the problem could be?

Was it helpful?

Solution

Copied over from comments: -I think this is a hardware/RAM issue generally (especially since it happens sometimes). Do some google searching and you will find a few people who have experienced this. But it would be good to get more information on the user's machine. -well, I looked up Error: A Fatal Exeception... and the only things I found where memory errors (particularly from other stuff that uses Java). editing run.bat/dat.bat were suggested as possible solutions? Unfortunately due to the vague-ness of the error, its pretty hard to suggest a reliable solution, but here is what I found anyway: link1 link2 link3

OTHER TIPS

I had almost the same problem(I've got this error everytime) and fixed with changing in the eclipse.ini

--launcher.XXMaxPermSize
256m

to

--launcher.XXMaxPermSize
900m

the 900 are the Xmx below

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top