error running lwjgl games

Started by Wihito, August 15, 2009, 22:21:34

Previous topic - Next topic

Wihito

It all started when I tried running Minecraft which I found when I was strolling through youtube, but at the loading, Java crashes and gives me no error message. When I retry, theres an error saying:
QuoteAn error occurred while loading the applet
Please contact support to resolve this issue.
Fatal error occurred (5): null
I started googling for a way to fix this, but I just found threads made by developers with this error, it wasn't really helping me, the user. Then I found it, the result that eventually led me here. It was a log of the IRC channel #lwjgl, with Notch, the maker of Minecraft, asking for help with this error. I googled lwjgl, found this site, tried to play some of the games listed in the projects page, none of the games that I downloaded worked (when Minecraft starts it downloads lwjgl files). I've also tried Wurm Online (also downloads files to the computer), which instantly crashes when I click on Play.

When I tried running Lavirinto 3D, JRE was kind enough to add a log file which I've attached to this post.

Wihito

You guys are really silent.  :(

bobjob

Is it all LWJGL apps? or only applets?

have you tried downloading the tribal trouble demo.

have you got the latest openGL drivers installed?

what are your computer specs?

kappa

error 5 usually means that the decompression of files has failed, if you grab the latest nightly build of lwjgl and try that http://www.newdawnsoftware.com/hudson/ it should give you a more meaningful error when it fails in the console.

also if you could post an example of your applet here others maybe be able to have a better look at your problem and html code.

Wihito

Quote from: bobjob on August 18, 2009, 09:54:11
Is it all LWJGL apps? or only applets?
I've tried Minecraft, Wurm Online, Lavirinto 3D, Dragon Forever and Tribal Trouble, with only Tribal Trouble working. The difference I've seen is that the lwjgl files in Tribal Trouble isn't of the type ".jar".
Quote from: bobjob on August 18, 2009, 09:54:11
have you tried downloading the tribal trouble demo.
I tried now and it worked.
Quote from: bobjob on August 18, 2009, 09:54:11
have you got the latest openGL drivers installed?
Can you please direct me to where I can download the latest OpenGL drivers? I found nothing on http://www.opengl.org/
Quote from: bobjob on August 18, 2009, 09:54:11
what are your computer specs?
OS: Windows Vista Home Premium
RAM: 3GB
Processor: Intel Core 2 Duo CPU   E8200 @ 2.66GHz (2 CPUs)
Graphics: ATI Radeon HD 4850

Quote from: javalwjgl on August 18, 2009, 10:03:48
error 5 usually means that the decompression of files has failed, if you grab the latest nightly build of lwjgl and try that http://www.newdawnsoftware.com/hudson/ it should give you a more meaningful error when it fails in the console.

also if you could post an example of your applet here others maybe be able to have a better look at your problem and html code.
I'm the user, not a programmer/developer. The console disappears when Java crashes.

kappa

OK, firstly not all the applications you list use LWJGL (e.g. WurmOnline uses JOGL), you can get the latest opengl drivers from your video card vendor (in your case http://support.amd.com/us/Pages/drivers.aspx ), it part of the normal driver for your card.

Wihito

Quote from: javalwjgl on August 18, 2009, 12:55:11
OK, firstly not all the applications you list use LWJGL (e.g. WurmOnline uses JOGL), you can get the latest opengl drivers from your video card vendor (in your case http://support.amd.com/us/Pages/drivers.aspx ), it part of the normal driver for your card.
I tried updating my drivers, but I already had the latest ones. Still not working.

broumbroum

As you're using a dual core, java 64 bits edition should be recommended anyway.

Matzon

still odd that it crashes in lwjgl code ?

Wihito

I suppose it's lwjgl, how do I confirm it and how do I get an error log on the problem?

Matzon

The best thing to do is to create a small test case where the issue occurs. That makes it easier for people to provide a patch to solve the problem. You are of course also welcome to provide the patch yourself ;)

Wihito

Quote from: Matzon on August 25, 2009, 07:26:41
The best thing to do is to create a small test case where the issue occurs. That makes it easier for people to provide a patch to solve the problem. You are of course also welcome to provide the patch yourself ;)
I have no experience in Java whatsoever, I just thought that this error might have something to do with lwjgl and went on this forum to get help.