JOAL not working? Please try this.

If JOAL is not working for you, please try this:

Use Creative’s FTP site, NOT Website when downloading OpenAL install packages.

Download packages from here:
ftp://opensource.creative.com/pub/sdk

  1. Delete C:\WINDOWS\system32\OpenAL32.dll
    This is mandatory, because installer wont replace existing (non working) dll.

  2. Install following package:
    ftp://opensource.creative.com/pub/sdk/OpenALwEAX.exe

Here’s a longer explanation why I suggest this:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=JOAL;action=display;num=1069559246;start=15#15

I tryed this on two machines, on my desktop machine (nforce) and on my laptop (hp omnibook 510). Both work fine with the packages that I downloaded from creatives ftp site. Both do not work if I get files from the website.

OMG Genius the stuff now works on my machine…
/me faints

It also seems to work if you use this one:

ftp://opensource.creative.com/pub/sdk/OpenALwEAX2.exe

Still need to figure out why LWJGL works and JOAL doesn’t with the other (www) drivers, but hopefully this’ll get people unstuck in the meantime.

If you want to build JOAL, you should get the SDK from the ftp site as well:

ftp://opensource.creative.com/pub/sdk/OpenALSDK.exe

which I just tested and seems to be okay.

I’ve just updated the build instructions on the JOAL project page and in the README to reflect the pointer to the “good” SDK.

Will continue to hunt for the problem with the JOAL and the “bad” drivers

Hi, just downloaded JOAL and installed the OpenALwEAX.exe, I placed the JOAL.jar in my jre/lib/ext dir. Lessons 1,2 and 3 compiled and ran fine on my comp however I couldn’t get lesson 5 to run. When I try to run it just hangs and I get this massage from the command line:


ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
Using device null
Pointer = 47646744
ALC = net.java.games.joal.ALCImpl@182f0db
Could not initialize

That’s on XPpro, with a Creative SB Audigy. Hope that’s of use.

Yeah, we’ve had a few problems with lesson 5. I’m looking into it now.

I got the same problem even in lesson 1, but apparently the sounds played ok after those error messages.

Weird.

[quote]Hi, just downloaded JOAL and installed the OpenALwEAX.exe, I placed the JOAL.jar in my jre/lib/ext dir.
[/quote]
Where is JOAL.jar located :-[? I can’t find it.

Try https://joal.dev.java.net/ :wink:

I’ve tried this link
ftp://opensource.creative.com/pub/sdk/OpenALSDK.exe

but the only file in
ftp://opensource.creative.com/pub/sdk/

is
OpenAL_Installer_10_1.bin

Because I have the “null-Device” problem, I need a new and right OpenALSDK.exe I think.

Where can I get it?

Bump cause I think I’m having the same problems as well.

[quote]I’ve tried this link
ftp://opensource.creative.com/pub/sdk/OpenALSDK.exe

but the only file in
ftp://opensource.creative.com/pub/sdk/

is
OpenAL_Installer_10_1.bin

Because I have the “null-Device” problem, I need a new and right OpenALSDK.exe I think.

Where can I get it?
[/quote]
I too am having this problem and i too would like to know where I can obtain the needed file.

Thanks in advance,

Rune

I also was having problems with obtaining the correct files.
I found the nvidia Audio SDK has openal32.dll files that work for me.

I just deleted the one that was created by the Creative executable(does not work with JOAL for me) and replaced it with the nvidia file.

http://developer.nvidia.com/object/nvidia_audio_sdk.html

There are 4 openal32.dll files in the zip, not sure if all work but the one that extracted to …
OpenAL\win32\OpenAL32\objchk\i386
…seemed to work for me.

I’m on winXP Pro with onboard sound. SoundMAX Integrated Digital Audio.

Hope this helps.

Nice reply from rkranitz above. This worked just fine for me.
I had OpenAL working fine in the past but blanked all my disks and reinstalled XP last night. Couldn’t remember how I got OpenAL working before but this has fixed it!

Getting JOAL to work for me has been less of a problem with the OpenAL libraries and more a problem with the location of joal.jar and joal.dll. The only way I can get this to work is if I do as Caoimhin suggested and drop them into the lib/ext directory of my jre.

If I try any other configuration, I get errors in the native code.

I’m unable to use the ant target ‘run’, even with the files in the jre/lib/ext directory. For lesson2, I copied the ‘wavdata’ subdir into the classes subdir and ran by hand (java LoopingAndFadeaway).