Get trixbox Pro’s HUD 3.0 working on OSX 1.06
If you are an Avid Macintosh fan and you are using trixbox Pro with HUD3, you probably noticed real quick that the two are not compatible. Running HUD3 on OSX 10.6 will simply crash and since HUD3 is such a useful tool, there are a lot of people who really want this to work properly.
Fortunately, there is a solution. The problem is that HUD3 does not like the version of Java that comes with the 10.6 version of the Macintosh Operating System. In order to get HUD3 working, we need to revert back to a previous version for the time being.
For some of you, these instructions may take you into a dark place you may have never been before, actually right to the heart of the operating system. Don’t worry too much, you can’t really break anything if you follow these instructions.
First off, go to your Applications folder, in there is another folder called Utilities, in that folder will be an application called Terminal, double-click the icon to launch it.
At this point you are now looking at a command prompt, something many of you may not have seen in a good number of years. From the prompt, we need to do a series of commands:
cd /tmp/ curl -o java.1.5.0-leopard.tar.gz http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.5.0-leopard.tar.gz tar -xvzf java.1.5.0-leopard.tar.gz sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0-leopard cd /System/Library/Frameworks/JavaVM.framework/Versions/ sudo rm 1.5.0 sudo ln -s 1.5.0-leopard 1.5.0 open "/Applications/Utilities/Java Preferences.app"
The last command will open the Java Preferences manager. When you get this screen, just drag the J2SE 5.0 32-Bit to the top of the list, close the window, and you should be back in business.

Thanks for the write-up! This is very helpful. Hopefully Trixbox will actually update HUD one of these days.
This was working great for me until yesterday when I did a bunch of system updates. Now HUD fails to run with the above 1.5 32 bit java, and with the default 1.6 that comes with snow leopard, it does the same as it used to: hangs while trying to connect (at least I can see some phone extensions …) and then crashes every time, eventually. Never connects anyway.
Hopefully someone can come up with another workaround.
Actually:
cd /tmp/curl -o java.1.5.0-leopard.tar.gz http://www.cs.washington.edu/homes/isdal/snow_leopard_workaround/java.1.5.0-leopard.tar.gz
…is the full command, appears to be truncated here. To clear up any confusion, lets reference the source document for this solution:
http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
Thanks Jeff, hopefully that helps.
A friend at work suggested that I look more carefully at my java links and he was correct. The upgrade undid some of the workaround, so that selecting 1.5 for apps in the java prefs was a nop, because 1.5 was set to be 1.6. That is not how I had it set up before the upgrade.
After the upgrade, everything points to 1.6, which breaks laggardly apps like HUD.
drwxr-xr-x 9 marla staff 306 Feb 14 2009 1.5.0-leopard/
drwxr-xr-x 3 root wheel 102 Jul 20 16:35 1.3.1/
drwxr-xr-x 8 root wheel 272 Nov 6 11:11 1.6.0/
lrwxr-xr-x 1 root wheel 3 Dec 7 10:51 CurrentJDK -> 1.6
lrwxr-xr-x 1 root wheel 5 Dec 7 10:51 1.6 -> 1.6.0
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 5 Dec 7 10:51 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 1 Dec 7 10:51 Current -> A
drwxr-xr-x 12 root wheel 408 Dec 7 10:58 ../
drwxr-xr-x 9 root wheel 306 Dec 7 10:58 A/
drwxr-xr-x 14 root wheel 476 Dec 7 10:58 ./
So to fix it, I had to redo the part of the instructions that begins with: Tell OS X that java 5 actually is java 5
Following the instructions:
mcpates:Versions marla$ sudo rm 1.5.0
Password:
mcpates:Versions marla$ sudo ln -s 1.5.0-leopard/ 1.5.0
mcpates:Versions marla$ sudo rm 1.5
mcpates:Versions marla$ sudo ln -s 1.5.0 1.5
mcpates:Versions marla$ ls -latr
total 64
drwxr-xr-x 9 marla staff 306 Feb 14 2009 1.5.0-leopard/
drwxr-xr-x 3 root wheel 102 Jul 20 16:35 1.3.1/
drwxr-xr-x 8 root wheel 272 Nov 6 11:11 1.6.0/
lrwxr-xr-x 1 root wheel 3 Dec 7 10:51 CurrentJDK -> 1.6
lrwxr-xr-x 1 root wheel 5 Dec 7 10:51 1.6 -> 1.6.0
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Dec 7 10:51 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 5 Dec 7 10:51 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 1 Dec 7 10:51 Current -> A
drwxr-xr-x 12 root wheel 408 Dec 7 10:58 ../
drwxr-xr-x 9 root wheel 306 Dec 7 10:58 A/
lrwxr-xr-x 1 root wheel 14 Dec 11 07:43 1.5.0 -> 1.5.0-leopard/
lrwxr-xr-x 1 root wheel 5 Dec 11 07:43 1.5 -> 1.5.0
drwxr-xr-x 14 root wheel 476 Dec 11 07:43 ./
and now HUD works again.
This was working great for me until yesterday when I did a bunch of system updates. Now HUD fails to run with the above 1.5 32 bit java, and with the default 1.6 that comes with snow leopard, it does the same as it used to: hangs while trying to connect (at least I can see some phone extensions …) and then crashes every time, eventually. Never connects anyway.