VM crash

hi

I am still writing my rFactor plugin using JVM invokation. And I get very strange VM crashes. When I run the game in fullscreen exclusive mode, everything works fine. But when I run it in windowed mode, the VM crashes every time, I execute createGraphics() on a BufferedImage object. This doesn’t happen on all systems, but at least on mine (WinXP 32-SP3) andon a friend’s (Win-XP-64-SP2). This didn’t always happen. I don’t know, if it is something in my code or a bug in the current Java version.


java.vm.vendor = "Sun Microsystems Inc."
java.vm.name = "Java HotSpot(TM) Client VM"
java.vm.version = "14.3-b01"
java.runtime.version = "1.6.0_17-b04"
java.awt.graphicsenv = "sun.awt.Win32GraphicsEnvironment"

Does anybody know a solution?

Marvin

Try installing a newer DirectX runtime.

I have updated to DirectX 9.0c (4.09.0000.0904). Though the dxwebsetup told me, it was updating the dx SDK, which I didn’t want. But I couldn’t find a directX 9.0c install anymore. Well, the crash is still there.

Marvin

Hi,

Maybe the application calls wrong DLL:

[quote]D:\Spiele\rFactor\D3D9.DLL
[/quote]
Also, try these flags:

[quote]•-Dsun.java2d.opengl=true
•-Dsun.java2d.d3d=false
•-Dsun.java2d.noddraw=true
[/quote]

More likely to be graphics drivers need updating. What chipsets you got there?

Cas :slight_smile:

Thanks a lot. These VM flags did the trick.

The d3d9.dll is correct. It is my interception dll, that I use to render my stuff on top of rFactor.

Marvin