1

What are the effects happened for these types of error?

A fatal error has been detected by Java Runtime Environment.
The crash happened outside the java virtual machine in native code.
Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • 1
    Maybe you'll find your answer in looking on the forum first ? http://stackoverflow.com/questions/140030/possible-causes-of-java-vm-exception-access-violation – BENARD Patrick Jan 09 '14 at 13:05

2 Answers2

2

The JVM itself stops running. The JVM is a program (written in C++ in several cases) that runs your Java code. So your program will stop running. And it will stop in an uncontrolled manner: the JVM will (probably) not do any of its normal shut-down sequence, such as running shut-down hooks.

Raedwald
  • 46,613
  • 43
  • 151
  • 237
1

The effect is that the JVM crashes, exits, stops, dies, finishes ...

It does this abruptly, and the JVM gets no chance to execute any application-specific shutdown hooks to tidy things up. If the application was in the middle of writing a file, or something like that, that file not get written completely.

A JVM crash like this is typically caused by some application provided native code doing something that triggers a hardware exception (e.g. a "segmentation fault"). It is also possible that it is due to a bug in Java itself.

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216