Guoshima
Junior Member  
Java games rock! Do they .. ?
|
 |
«
Posted
2004-05-31 10:51:37 » |
|
Hello,
my game uses OpenAL to play the music and sounds, and this works fine if I run the game from Eclipse. But if I try to run it from DOS prompt windows or via Jar file I get the following error:
org.lwjgl.openal.OpenALException: Could not load openal library. at org.lwjgl.openal.BaseAL.nCreate(Native Method) at org.lwjgl.openal.BaseAL.create(Unknown Source) at org.lwjgl.openal.AL.create(Unknown Source) at util.sound.SoundManager.<init>(SoundManager.java:43) at logic.GameModel.<init>(GameModel.java:87) at core.Engine.<init>(Engine.java:100) at core.GameEngine.<init>(GameEngine.java:38) at core.GameEngine.main(GameEngine.java:148)
An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0 Function=[Unknown.] Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions.
Current Java thread: at org.lwjgl.openal.CoreAL.nalGenSources(Native Method) at org.lwjgl.openal.CoreAL.alGenSources(Unknown Source) at util.sound.SoundPlayer.init(SoundPlayer.java:32) at util.sound.SoundManager.<init>(SoundManager.java:50) at logic.GameModel.<init>(GameModel.java:87) at core.Engine.<init>(Engine.java:100) at core.GameEngine.<init>(GameEngine.java:38) at core.GameEngine.main(GameEngine.java:148)
Dynamic libraries: 0x00400000 - 0x00406000 C:\WINDOWS\system32\java.exe 0x77F40000 - 0x77FED000 C:\WINDOWS\System32\ntdll.dll 0x77E40000 - 0x77F30000 C:\WINDOWS\system32\kernel32.dll 0x77DA0000 - 0x77E3D000 C:\WINDOWS\system32\ADVAPI32.dll 0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll 0x77BE0000 - 0x77C33000 C:\WINDOWS\system32\MSVCRT.dll 0x08000000 - 0x08136000 C:\Program Files\Java\j2re1.4.2\bin\client\jvm.d ll 0x77D10000 - 0x77D9C000 C:\WINDOWS\system32\USER32.dll 0x77C40000 - 0x77C80000 C:\WINDOWS\system32\GDI32.dll 0x76AF0000 - 0x76B1D000 C:\WINDOWS\system32\WINMM.dll 0x6BD00000 - 0x6BD0D000 C:\WINDOWS\system32\SYNCOR11.DLL 0x10000000 - 0x10007000 C:\Program Files\Java\j2re1.4.2\bin\hpi.dll 0x00390000 - 0x0039E000 C:\Program Files\Java\j2re1.4.2\bin\verify.dll 0x003A0000 - 0x003B8000 C:\Program Files\Java\j2re1.4.2\bin\java.dll 0x003C0000 - 0x003CD000 C:\Program Files\Java\j2re1.4.2\bin\zip.dll 0x02E60000 - 0x02F6A000 C:\Program Files\Java\j2re1.4.2\bin\awt.dll 0x72F70000 - 0x72F93000 C:\WINDOWS\system32\WINSPOOL.DRV 0x76330000 - 0x7634C000 C:\WINDOWS\system32\IMM32.dll 0x7CCC0000 - 0x7CDE1000 C:\WINDOWS\system32\ole32.dll 0x5B190000 - 0x5B1C4000 C:\WINDOWS\System32\uxtheme.dll 0x02FD0000 - 0x03020000 C:\Program Files\Java\j2re1.4.2\bin\fontmanager. dll 0x51000000 - 0x51047000 C:\WINDOWS\system32\ddraw.dll 0x73B30000 - 0x73B36000 C:\WINDOWS\system32\DCIMAN32.dll 0x5C000000 - 0x5C0C8000 C:\WINDOWS\system32\D3DIM700.DLL 0x746A0000 - 0x746E4000 C:\WINDOWS\System32\MSCTF.dll 0x07510000 - 0x07554000 C:\Program Files\Java\j2re1.4.2\bin\lwjgl.dll 0x72210000 - 0x72239000 C:\WINDOWS\system32\DINPUT.dll 0x5F160000 - 0x5F226000 C:\WINDOWS\system32\OPENGL32.dll 0x68FE0000 - 0x68FFF000 C:\WINDOWS\system32\GLU32.dll 0x77BD0000 - 0x77BD7000 C:\WINDOWS\system32\VERSION.dll 0x76C50000 - 0x76C72000 C:\WINDOWS\system32\imagehlp.dll 0x6DA30000 - 0x6DAAD000 C:\WINDOWS\system32\DBGHELP.dll 0x76BB0000 - 0x76BBB000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort: Heap def new generation total 576K, used 171K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 21% used [0x10010000, 0x1002afc8, 0x10090000) from space 64K, 100% used [0x10090000, 0x100a0000, 0x100a0000) to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000) tenured generation total 2560K, used 2263K [0x104f0000, 0x10770000, 0x1401000 0) the space 2560K, 88% used [0x104f0000, 0x10725ca0, 0x10725e00, 0x10770000) compacting perm gen total 4096K, used 2622K [0x14010000, 0x14410000, 0x1801000 0) the space 4096K, 64% used [0x14010000, 0x1429fac0, 0x1429fc00, 0x14410000)
Local Time = Mon May 31 12:43:36 2004 Elapsed Time = 1 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) # # An error report file has been saved as hs_err_pid2800.log. # Please refer to the file for further information. #
My project doesn't use any special jar files, because all the extra jar's for JOGL, LWJGL, OpanAL, .. are all located directly in my Java ext dir's ..
what am I doind wrong here ? Hope someone can help me out, because I would like to make a Webstart version of my game ..
Regards, Kenzo
|