"Violation of runtime protection" when running Jar in Windows 7

I am trying to export a game written in LibGDX, Java and Flixel-Android. The game was developed on a Mac and runs on other Mac systems in the form of a Jar. When I start on a computer with Windows 7, it quits before it starts up completely, and I get this dump:

Fatal error detected in Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) with pc = 0x04a2b400, pid = 5824, TID = 5912

JRE version: 7.0_09-b05 Java VM: Java HotSpot (TM) virtual machine (Mixed mode 23.5-b02, windows-x86 sharing) Problem frame: C 0x04a2b400

Failed to write the main dump. Minidumps are not enabled by default. client versions of Windows

If you want to send a bug report, visit:
http://bugreport.sun.com/bugreport/crash.jsp The accident occurred outside the Java virtual machine in native code. See Problematic for an error.

The console window also displays a "Run-time violation" shortly before, and then downloads the aforementioned into a text file. The text file contains a much farther dump, which I will not publish here unless people think about the need.

I have no idea what could be causing this, and I don't have much time to figure it out! Anyone have any conclusions?

EDIT - I narrowed it down to a section of code that downloads a file from the LibGDX store. Is this a problem with the native library?

EDIT - this has something to do with resizing a piece of text in Flixel-Android.

+4
source share
1 answer

I would suggest that the native library does not work properly on Windows and / or with Java 7 (I know this is pretty obvious).

Keep in mind that Android java is compatible with java 1.5, so I saw how this library breaks into java 7. I would check which versions of Java are supported on the library website.


change

It seems that java 7 is the culprit: http://code.google.com/p/libgdx/issues/detail?id=824 . I think I'm an expert Google user ...

+2
source

Source: https://habr.com/ru/post/1445219/


All Articles