Bug 699

Summary: JOAL initialization fails under Windows both with hardware and software OpenAL
Product: [JogAmp] Joal Reporter: Julien Gouesse <gouessej>
Component: coreAssignee: Xerxes RĂ„nby <xerxes>
Status: RESOLVED FIXED    
Severity: normal CC: gouessej, sgothel
Priority: P4    
Version: 1.0   
Hardware: pc_all   
OS: windows   
Type: --- SCM Refs:
3afb1c6b6643c44c8d984b642dceee0a7eb4f031 903283df04eed4de389bb32054db4192ebf6e84f 52f527772ac7412d17e8c487124b31d290d2ce8f
Workaround: TRUE

Description Julien Gouesse 2013-03-07 23:50:09 CET
I get this on the laptop Packard Bell EasyNote MH36: 
[java] Exception in thread "Thread-9" java.lang.ExceptionInInitializerError
[java] 	at com.jogamp.openal.ALFactory.initialize(ALFactory.java:96)
[java] 	at com.jogamp.openal.ALFactory.getALC(ALFactory.java:140)
[java] 	at com.jogamp.openal.util.ALut.alutInit(ALut.java:66)
[java] 	at paulscode.sound.libraries.LibraryJOAL.init(LibraryJOAL.java:154)
[java] 	at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
[java] 	at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
[java] 	at paulscode.sound.CommandThread.run(CommandThread.java:121)
[java] Caused by: java.lang.RuntimeException: Couln't load native AL library
[java] 	at jogamp.openal.ALImpl.<clinit>(ALImpl.java:1618)
[java] 	... 7 more

I tried both -Djoal.openal.lib=system and -Djoal.openal.lib=soft with Oracle Java 1.7 update 17 32 bits & 64 bits.
Comment 1 Julien Gouesse 2013-03-08 13:45:31 CET
What can I do to get more debug logs and see what is wrong? I'm going to use  -verbose:jni.
Comment 2 Julien Gouesse 2013-03-08 20:25:47 CET
I get this with jogamp.debug=all:

JNILibLoaderBase: addNativeJarLibs0(classesFromJavaJars [class jogamp.openal.ALDynamicLibraryBundleInfo], singleJarMarker null, stripBasenameSuffixes none
addNativeJarLibsImpl(classFromJavaJar class jogamp.openal.ALDynamicLibraryBundleInfo, classJarURL jar:file:/C:/Users/steven/workspace/tuer/lib/joal/joal.jar!/jogamp/openal/ALDynamicLibraryBundleInfo.class, nativeJarBaseName joal): joal-natives-windows-amd64.jar + file:/C:/Users/steven/workspace/tuer/lib/joal/ -> jar:file:/C:/Users/steven/workspace/tuer/lib/joal/joal-natives-windows-amd64.jar!/
TempJarCache: addNativeLibs: jar:file:/C:/Users/steven/workspace/tuer/lib/joal/joal-natives-windows-amd64.jar!/: nativeJar C:\Users\steven\workspace\tuer\lib\joal\joal-natives-windows-amd64.jar
TempJarCache: validateCertificates: OK - No rootCerts in given class jogamp.openal.ALDynamicLibraryBundleInfo, nativeJar C:\Users\steven\workspace\tuer\lib\joal\joal-natives-windows-amd64.jar
JarUtil: extract: C:\Users\steven\workspace\tuer\lib\joal\joal-natives-windows-amd64.jar -> C:\Users\steven\AppData\Local\Temp\jogamp_0000\file_cache\jln6567400972606108186\jln6442393921963973539, extractNativeLibraries true, extractClassFiles false, extractOtherFiles false
JarUtil: JarEntry : META-INF/ other-file skipped
JarUtil: JarEntry : META-INF/MANIFEST.MF other-file skipped
JarUtil: JarEntry : isNativeLib true, isClassFile false, isDir false, isRootEntry true
JarUtil: EXTRACT[1]: [joal -> ] joal.dll -> C:\Users\steven\AppData\Local\Temp\jogamp_0000\file_cache\jln6567400972606108186\jln6442393921963973539\joal.dll: 160353 bytes, addedAsNativeLib: true
JNILibLoaderBase: addNativeJarLibs0(..) done, count 1, ok true
Thread-9 - DynamicLibraryBundle.init start with: jogamp.openal.ALDynamicLibraryBundleInfo
NativeLibrary.findLibrary(<openal>) (TempJarCache): null
NativeLibrary.findLibrary(<openal>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load openal.dll
LoadLibraryW "openal.dll" failed, error code: 0x0, 0
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\openal.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\openal.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\openal.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\openal.dll
LoadLibraryW "C:\Windows\system32\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\openal.dll
LoadLibraryW "C:\Windows\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\openal.dll
LoadLibraryW "C:\Windows\system32\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\openal.dll
LoadLibraryW "C:\Windows\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\openal.dll
LoadLibraryW "C:\Windows\System32\Wbem\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\openal.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\openal.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\openal.dll
LoadLibraryW ".\openal.dll" failed, error code: 0x7e, 126getJarURL jar:file:/C:/Users/steven/workspace/tuer/lib/joal/joal.jar!/jogamp/openal/ALDynamicLibraryBundleInfo.class
getJarName res: joal.jar
getJarSubURL res: file:/C:/Users/steven/workspace/tuer/lib/joal/joal.jar
getURLDirname file:/C:/Users/steven/workspace/tuer/lib/joal/joal.jar, extForm: file:/C:/Users/steven/workspace/tuer/lib/joal/joal.jar
getJarURLDirname res: file:/C:/Users/steven/workspace/tuer/lib/joal/
getJarFile: jar:file:/C:/Users/steven/workspace/tuer/lib/joal/joal-natives-windows-amd64.jar!/
getJarFile res: C:\Users\steven\workspace\tuer\lib\joal\joal-natives-windows-amd64.jar

NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\openal.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (openal, openal, openal)
NativeLibrary.findLibrary(<OpenAL>) (TempJarCache): null
NativeLibrary.findLibrary(<OpenAL>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load OpenAL.dll
LoadLibraryW "OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\OpenAL.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\OpenAL.dll
LoadLibraryW "C:\Windows\System32\Wbem\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\OpenAL.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\OpenAL.dll
LoadLibraryW ".\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\OpenAL.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (OpenAL, OpenAL, OpenAL)
NativeLibrary.findLibrary(<libopenal.so.1>) (TempJarCache): null
NativeLibrary.findLibrary(<libopenal.so.1>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load libopenal.so.1.dll
LoadLibraryW "libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\libopenal.so.1.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\libopenal.so.1.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\libopenal.so.1.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libopenal.so.1.dll
LoadLibraryW "C:\Windows\system32\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libopenal.so.1.dll
LoadLibraryW "C:\Windows\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\libopenal.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\libopenal.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\libopenal.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libopenal.so.1.dll
LoadLibraryW "C:\Windows\system32\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libopenal.so.1.dll
LoadLibraryW "C:\Windows\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\libopenal.so.1.dll
LoadLibraryW "C:\Windows\System32\Wbem\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\libopenal.so.1.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\libopenal.so.1.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\libopenal.so.1.dll
LoadLibraryW ".\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\libopenal.so.1.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\libopenal.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (libopenal.so.1, libopenal.so.1, libopenal.so.1)
NativeLibrary.findLibrary(<OpenAL32>) (TempJarCache): null
NativeLibrary.findLibrary(<OpenAL32>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load OpenAL32.dll
LoadLibraryW "OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL32.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL32.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\OpenAL32.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL32.dll
LoadLibraryW "C:\Windows\system32\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL32.dll
LoadLibraryW "C:\Windows\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\OpenAL32.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\OpenAL32.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL32.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL32.dll
LoadLibraryW "C:\Windows\system32\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL32.dll
LoadLibraryW "C:\Windows\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\OpenAL32.dll
LoadLibraryW "C:\Windows\System32\Wbem\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL32.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\OpenAL32.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\OpenAL32.dll
LoadLibraryW ".\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\OpenAL32.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\OpenAL32.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (OpenAL32, OpenAL32, OpenAL32)
NativeLibrary.findLibrary(<OpenAL>) (TempJarCache): null
NativeLibrary.findLibrary(<OpenAL>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load OpenAL.dll
LoadLibraryW "OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\OpenAL.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\OpenAL.dll
LoadLibraryW "C:\Windows\System32\Wbem\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\OpenAL.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\OpenAL.dll
LoadLibraryW ".\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\OpenAL.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (OpenAL, OpenAL, OpenAL)
NativeLibrary.findLibrary(<libOpenAL.so.1>) (TempJarCache): null
NativeLibrary.findLibrary(<libOpenAL.so.1>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load libOpenAL.so.1.dll
LoadLibraryW "libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\libOpenAL.so.1.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\libOpenAL.so.1.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\system32\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\libOpenAL.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\libOpenAL.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\libOpenAL.so.1.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\system32\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\System32\Wbem\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\libOpenAL.so.1.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\libOpenAL.so.1.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\libOpenAL.so.1.dll
LoadLibraryW ".\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\libOpenAL.so.1.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\libOpenAL.so.1.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (libOpenAL.so.1, libOpenAL.so.1, libOpenAL.so.1)
NativeLibrary.findLibrary(<libopenal.so>) (TempJarCache): null
NativeLibrary.findLibrary(<libopenal.so>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load libopenal.so.dll
LoadLibraryW "libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\libopenal.so.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\libopenal.so.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\libopenal.so.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libopenal.so.dll
LoadLibraryW "C:\Windows\system32\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libopenal.so.dll
LoadLibraryW "C:\Windows\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\libopenal.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\libopenal.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\libopenal.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libopenal.so.dll
LoadLibraryW "C:\Windows\system32\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libopenal.so.dll
LoadLibraryW "C:\Windows\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\libopenal.so.dll
LoadLibraryW "C:\Windows\System32\Wbem\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\libopenal.so.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\libopenal.so.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\libopenal.so.dll
LoadLibraryW ".\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\libopenal.so.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\libopenal.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (libopenal.so, libopenal.so, libopenal.so)
NativeLibrary.findLibrary(<libOpenAL.so>) (TempJarCache): null
NativeLibrary.findLibrary(<libOpenAL.so>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load libOpenAL.so.dll
LoadLibraryW "libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\libOpenAL.so.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\libOpenAL.so.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\libOpenAL.so.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libOpenAL.so.dll
LoadLibraryW "C:\Windows\system32\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libOpenAL.so.dll
LoadLibraryW "C:\Windows\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\libOpenAL.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\libOpenAL.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\libOpenAL.so.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\libOpenAL.so.dll
LoadLibraryW "C:\Windows\system32\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\libOpenAL.so.dll
LoadLibraryW "C:\Windows\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\libOpenAL.so.dll
LoadLibraryW "C:\Windows\System32\Wbem\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\libOpenAL.so.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\libOpenAL.so.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\libOpenAL.so.dll
LoadLibraryW ".\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\libOpenAL.so.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\libOpenAL.so.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (libOpenAL.so, libOpenAL.so, libOpenAL.so)
NativeLibrary.findLibrary(<openal>) (TempJarCache): null
NativeLibrary.findLibrary(<openal>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load openal.dll
LoadLibraryW "openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\openal.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\openal.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\openal.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\openal.dll
LoadLibraryW "C:\Windows\system32\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\openal.dll
LoadLibraryW "C:\Windows\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\openal.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\openal.dll
LoadLibraryW "C:\Windows\system32\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\openal.dll
LoadLibraryW "C:\Windows\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\openal.dll
LoadLibraryW "C:\Windows\System32\Wbem\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\openal.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\openal.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\openal.dll
LoadLibraryW ".\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\openal.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\openal.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (openal, openal, openal)
NativeLibrary.findLibrary(<OpenAL>) (TempJarCache): null
NativeLibrary.findLibrary(<OpenAL>, sun.misc.Launcher$AppClassLoader@66cf9bf0) (CL): null
NativeLibrary.open(): Trying to load OpenAL.dll
LoadLibraryW "OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\jre\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll
LoadLibraryW "C:\Program Files\Java\jdk1.7.0_17\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\Sun\Java\bin\OpenAL.dll
LoadLibraryW "C:\Windows\Sun\Java\bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin/client\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/bin\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll
LoadLibraryW "C:/Program Files (x86)/Java/jre7/lib/i386\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\system32\OpenAL.dll
LoadLibraryW "C:\Windows\system32\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\OpenAL.dll
LoadLibraryW "C:\Windows\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\Wbem\OpenAL.dll
LoadLibraryW "C:\Windows\System32\Wbem\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll
LoadLibraryW "C:\Windows\System32\WindowsPowerShell\v1.0\\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\Downloads\eclipse\OpenAL.dll
LoadLibraryW "C:\Users\steven\Downloads\eclipse\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load .\OpenAL.dll
LoadLibraryW ".\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Trying to load C:\Users\steven\workspace\tuer\OpenAL.dll
LoadLibraryW "C:\Users\steven\workspace\tuer\OpenAL.dll" failed, error code: 0x7e, 126
NativeLibrary.open(): Did not succeed in loading (OpenAL, OpenAL, OpenAL)
Unable to load any Tool library of: [openal, OpenAL, libopenal.so.1, OpenAL32, OpenAL, libOpenAL.so.1, libopenal.so, libOpenAL.so, openal, OpenAL]
No Tool libraries loaded
DynamicLibraryBundle.init Summary: jogamp.openal.ALDynamicLibraryBundleInfo
     toolGetProcAddressFuncNameList: [alGetProcAddress], complete: false, 0x0
     Tool Lib Names : [[openal, OpenAL, libopenal.so.1, OpenAL32, OpenAL, libOpenAL.so.1, libopenal.so, libOpenAL.so, openal, OpenAL]]
     Tool Lib Loaded: 0/1 [false], complete false
     Glue Lib Names : [joal]
     Glue Lib Loaded: 0/1 [false], complete false
     All Complete: false
     LibLoaderExecutor: com.jogamp.common.util.RunnableExecutor$CurrentThreadExecutor
Exception in thread "Thread-9" java.lang.ExceptionInInitializerError
	at com.jogamp.openal.ALFactory.initialize(ALFactory.java:96)
	at com.jogamp.openal.ALFactory.getALC(ALFactory.java:140)
	at com.jogamp.openal.util.ALut.alutInit(ALut.java:66)
	at paulscode.sound.libraries.LibraryJOAL.init(LibraryJOAL.java:154)
	at paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
	at paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
	at paulscode.sound.CommandThread.run(CommandThread.java:121)
Caused by: java.lang.RuntimeException: Couln't load native AL library
	at jogamp.openal.ALImpl.<clinit>(ALImpl.java:1618)
	... 7 more
Comment 3 Julien Gouesse 2013-03-15 12:59:55 CET
What does it mean?

LoadLibraryW "C:\Windows\system32\openal.dll" failed, error code: 0x7e, 126
Comment 4 Julien Gouesse 2013-03-15 13:05:03 CET
The error code 126 seems to indicate the DLL is missing.
Comment 5 Julien Gouesse 2013-03-21 10:27:28 CET
I tested on another machine under Windows 7, the following files are extracted to %temp%\jogamp_0000\file_cache\jln1980107802008381247\jln2160439316715307673:
gluegen-rt.dll
joal.dll
jogl_desktop.dll
jogl_mobile.dll
nativewindow_awt.dll
nativewindow_win32.dll
newt.dll
OpenAL32.dll
wrap_oal.dll

I will check very soon which native libraries are successfully extracted on the problematic laptop.
Comment 6 Julien Gouesse 2013-03-21 13:07:27 CET
What does it mean?
"LoadLibraryW "openal.dll" failed, error code: 0x0, 0"

I assume that the loading failed but the last error code wasn't set. Shouldn't we use the FormatMessage method to get explicit error messages?
http://msdn.microsoft.com/en-us/library/windows/desktop/ms679351%28v=vs.85%29.aspx
There is an example here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680582%28v=vs.85%29.aspx
Comment 7 Julien Gouesse 2013-03-21 21:04:39 CET
OpenAL32.dll and wrap_oal.dll haven't been extracted into the temporary directory. Why?
Comment 8 Julien Gouesse 2013-03-21 21:14:52 CET
OpenAL-Soft DLLs aren't in the JARs containing native libraries for Windows in the latest aggregated build made yesterday.
Comment 9 Julien Gouesse 2013-03-22 13:50:09 CET
OpenAL-Soft native libraries cannot be built under Windows yet according to Xerxes: http://forum.jogamp.org/OpenAL-Soft-1-15-1-is-out-tp4027581p4028747.html
Comment 11 Sven Gothel 2013-04-05 03:44:39 CEST
Comment 10 - We provide prebuild soft-openal DLLs on windows