JVM Crash - "EXCEPTION_ACCESS_VIOLATION"

I had this same issue. I was using Java version 1.6 update 45. And project requirement was Java 1.6 I downgraded the version from 1.6 update 45 to 1.6 update 38. It worked for me. Hope this works for you, in case if you have specific Java requirements.


The crash happens inside DirectX library: d3d9.dll. Try the following options:

  • Update / reinstall graphics driver.
  • Switch off graphics card utilities (I've noticed RivaTuner in the list of loaded libraries).
  • Run Java with -Dsun.java2d.d3d=false JVM option or set J2D_D3D=false environment variable. This would definitely help, though Java will not make use of Direct3D acceleration.