r/javahelp • • Jul 28 '13

Java: A Fatal Exception

I tried running a program coded in Java and an error message appeared saying a a Fatal Exception has occured in the Runtime enviorment. How do I fix this?

0 Upvotes

8 comments sorted by

1

u/ACProusalis Jul 28 '13

No, it doesn't give me a crash file. But I can give you the message: "A Fatal Exception has occured in the Java Runtime enviorment." "Program will now exit." If you could, if I am being an idiot and missing how to get the sourcecode, please tell me how to get it, I'd like to fix this as soon as possible.

1

u/[deleted] Jul 28 '13

I'd reinstall the JDK

1

u/ACProusalis Jul 28 '13

Already tried that. It didn't work.

1

u/TheHorribleTruth Kind of meh Jul 28 '13

It's a crash caused by the program, and probably not by your runtime. I guess it's a program that you didn't develop/code yourself? Something you downloaded/were given? Get in touch with the developers, they are the only ones that can help you.

4

u/[deleted] Jul 28 '13

Please post the exact message and your sourcecode.

1

u/pacificmint Jul 28 '13

Does the program use JNI?

1

u/ACProusalis Jul 29 '13

The program requires JRE 1.5.0 or above. I have version 1.7_25. And the program is Minecraft.exe!

2

u/[deleted] Jul 28 '13 edited Jul 28 '13

Copy and paste your code to pastebin and link it here, it's probably something really simple.