MouseInfo getLocation causes JVM crash in java?

0

I'm attempting to run the following program:

package test;

import java.awt.*;

public class Main {
    public static void main(String[] args) {
        System.out.println(MouseInfo.getPointerInfo().getLocation().x + "," + MouseInfo.getPointerInfo().getLocation().y);
    }
}

However, after running it in IntelliJ, the program will just sit there for about 10 seconds and then exit with this:

Process finished with exit code -1073740791 (0xC0000409)

Most of the google results (and stack overflow posts) related to this error seem to think it is an NVIDIA driver issue, but those posts also state that an updated driver with a fix was posted in February and the driver on my computer is version 382, which is a newer version than the fix posted, so it would have included that fix.

Any ideas how to resolve this issue?

java
intellij-idea
asked on Stack Overflow Oct 10, 2017 by VoidWhisperer

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0